976
Lua / Re: My first lua program
« on: August 18, 2012, 06:22:51 pm »
Nice
Next step for you I guess is that you may want to use classes for creating more objects of the same type (instances of the class). Here's it's two objects so it's good enough not to use classes anyway.
Also I guess I don't see any indentation because it's not done on the computer ? (oclua / Luna, I'm not sure what you used ?)
Anyway, you can have the Nspire Software 3.2 while having your calc in 3.1 if you want to keep it so, and then you'll be able to profit from the Lua SDK inside the software which is much better than on-calc for longer scripts.
Don't forget to visit Inspired-Lua.org
Next step for you I guess is that you may want to use classes for creating more objects of the same type (instances of the class). Here's it's two objects so it's good enough not to use classes anyway.
Also I guess I don't see any indentation because it's not done on the computer ? (oclua / Luna, I'm not sure what you used ?)
Anyway, you can have the Nspire Software 3.2 while having your calc in 3.1 if you want to keep it so, and then you'll be able to profit from the Lua SDK inside the software which is much better than on-calc for longer scripts.
Don't forget to visit Inspired-Lua.org