Home TI-Nspire Authoring Lua Scripting HQ Lua and JavaScript Scripting Tutorial - Lesson 3

Lua and JavaScript

Scripting Tutorial - Lesson 3.3: Lua Tables and Conditions

  

Enter your script into the text box below, and then click the "run your code" button above.

Click "run your code!" to get started.

You can copy and paste the script (or type your own) into the lower text box and then click "run your code!" After that, explore and experiment!

You will notice that, since we do not have the TI-Nspire working behind the scenes for us here, we cannot take advantage of sliders and Notes pages and Nspire variables. So instead, we define our table directly and call on those values. Try adding some new lines to your table and see the script automatically accommodate those changes.


Home TI-Nspire Authoring Lua Scripting HQ Lua and JavaScript Scripting Tutorial - Lesson 3