Application Guide

Tool name Tool function
Focus
Script
Sets the focus to the page in the document where the script
application is attached:
In a TI-Nspire™ document, sets the focus to the page.
In a PublishView document, sets the focus to the
frame on the page.
Step Into While debugging, executes the current statement. If the
statement calls any functions, the debugger stops at the first
line of each function.
Step Over While debugging, executes the current statement.
If the statement calls any functions, the debugger does not
stop within the function unless the function contains a
breakpoint.
Enable
Breakpoints
Switches from normal mode to debugging mode.
Disable
Breakpoints
Switches back from debugging mode to normal mode and
resumes the script.
Set
Permissions
Sets permission levels to Protected, View Only, or
Unprotected and allows you to set a password for the script.
Using the Tools Panel
At the bottom of the window, the Tools panel shows the scripting data. For more
information, see the Debugging Scripts section.
Tab Window Display
Console Script errors are printed here.
Print statements embedded in the script also print here.
Globals Selected global variables are displayed.
To select a global variable for display, select Click to add new watch
variable at the bottom of the Tools panel.
Call Stack Displays the call tree for the currently executing function.
Locals Local variables in the current function’s scope are displayed.
Resources Upload, insert, and manage images here.
Writing Lua Scripts 515