Calculator Community > TI Calculators

Where to start with programming.

(1/5) > >>

sillibird:
I am interested in programming for the Nspire (ndless.) I know you must either use C or C++, luckily, I know neither. Which one is better/easier to start with and is there any good books/references to learn that language for Nspire?

...Or should I go with lua? I don't know how you run lua files on the Nspire... But I know a hair of Lua...

LDStudios:
Personally I would recommend lua for a beginner programmer, as it is probably easier to learn. In addition, you can program lua directly on your calculator, which will allow you to practice and learn from school and at home. (See JSE http://www.omnimaga.org/ti-nspire-projects/jens%27-script-editor-an-on-calc-lua-editor/?topicseen)

Running lua files on the nspire is incredible simple. Just load the .tns document to your calculator open it, and voila! To access the script editor on the student software, click insert>script editor>insert script.

Here are a couple of great places to go if you want to start learning lua:
- http://www.compasstech.com.au/TNS_Authoring/Scripting/index.html
- http://inspired-lua.org
If you have any questions, ask me or some of the more experienced lua programmers in the community.

If you would rather start with C (Ndless), I don't have a lot of advice or experience, but you can start with this introductory tutorial:
- http://ndlessly.wordpress.com/native-development-intro/

Good luck, and I hope to see some great projects from you!

sillibird:
Thanks, I'll try lua.

sillibird:
One last thing- whats with the weirdness of Jens Script Editor? When typing some letters appear spaced out /too close

DJ Omnimaga:
Lua will also ensure that your programs still run on as many OSes as possible, should Ndless, required to run  C/ASM stuff, never come out for OS 3.9 and higher. I heard that Lua is easier to code than C when it comes to calc stuff, but it's slower (although it got much faster in OS 3.2 and higher)

Welcome to the forums by the way! :)

Navigation

[0] Message Index

[#] Next page

Go to full version