0 Members and 2 Guests are viewing this topic.
Augs, there is no need to create a new topic if someone doesn't reply qucikly .. just be patient.Anyway, you can create Lua documents multiple ways.The most easy is to use the SDK provided with the student software 3.2. If you don't have that, there are two other options:Use OClua, to program oncalc.Use the editor of your choice, and compile the program using Luna. Then send the resulting document to your calculator.Tutorials: http://www.inspired-lua.org/2012/01/starting-in-lua/Luna: http://www.ticalc.org/archives/files/fileinfo/441/44113.htmlOClua: http://www.ticalc.org/archives/files/fileinfo/440/44075.htmlHope this helps.
BTW, you can still use the OS 3.1 on your device and have the Computer Software 3.2, in which you have the Lua SDK.(and for lua scripts only, it should work well enough with OS 3.1 when you put " platform.apilevel = '1.0' " at the beginning.
I meant in a Lua program, not basic ;-)Computer software -> Insert -> Lua Editor -> Insert Script
Are OS 3.1 scripts completely compatible with 3.2?I know 3.0.x ones aren't.I think also instead of Luna you can use the TI-nspire Scripting Tools, but I haven't actually tried it myself.
Sending a TNS of a lua application that was created with tools pre [3.2] will make the calculator run it in apiLevel 1.0 automatically.However, if you copy the source and want to recompile it with the latest luna or the SDK you will need to add "platform.apilevel = '1.0' " (as ElementCoder mentioned) to the top of your script.But, it is also perfectly possible that the script will run fine without adding that line.So:- all 3.0x, 3.1 TNS files containing Lua scripts created with Luna < v0.3 should run fine on 3.2 . It will automatically use the old API structure- if you want to recompile, add "platform.apilevel = '1.0' " to the top of your script.Or you could just script it so that it doesn't matter where you run it