Home ← TI-Nspire Authoring ← Lua Scripting HQ ← Lua and JavaScript ← Scripting Tutorial - Lesson 4
Lua and JavaScriptScripting Tutorial - Lesson 4: A Simple Mathematical Operations Table
Play with the script in 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!At this stage, our JavaScript/Lua converter does not support string operations, including input. So our script is a little disappointing, but still worth playing with. Try varying the operations from multiply to add, subtract or divide. Notice that each time you press the "Run Your Code" button, the values recalculate? |
Home ← TI-Nspire Authoring ← Lua Scripting HQ ← Lua and JavaScript ← Scripting Tutorial - Lesson 4