1
TI-Nspire / Strange behavior of Lua drawString
« on: March 27, 2014, 01:00:16 pm »
Hello,
I have a little question concerning Lua's drawString on my nspire. I have OS 3.1 cas running (nlaunch) on my non-cas touchpad nspire.
It works great, except for one little issue: when I open Lua files that print numbers on the screen using drawString, the numbers get all messed up. For example: when I write 2, it turns into: 6.132164321546e-227 or something similar.
I think the fault happens when I call gc:tostring(theNumberToGetStringified), because if I draw "2", it works fine.
Is this a bug with nLaunch? Can I do something to prevent this from happening?
Thank you!
DebboR
I have a little question concerning Lua's drawString on my nspire. I have OS 3.1 cas running (nlaunch) on my non-cas touchpad nspire.
It works great, except for one little issue: when I open Lua files that print numbers on the screen using drawString, the numbers get all messed up. For example: when I write 2, it turns into: 6.132164321546e-227 or something similar.
I think the fault happens when I call gc:tostring(theNumberToGetStringified), because if I draw "2", it works fine.
Is this a bug with nLaunch? Can I do something to prevent this from happening?
Thank you!
DebboR