Other Content

Table Of Contents
- Debugging mode: Running (debugging), Paused, or Error
Inserting New Scripts
To insert a new script application and script, follow these steps.
1. Open the document where you want to insert the script. It can be a new or
existing document.
2. Click Insert > Script Editor > Insert Script.
A script application is inserted, and the Script Title dialog box opens.
Note: The TI-Nspire™ Student Software and the TI-Nspire CAS Student
Software open automatically within the Documents Workspace.
3. Type a script title. (The maximum number of characters is 32.)
4. Click OK.
The Script Editor window opens showing a blank script.
5. Type your text in the script lines.
Note: Some nonstandard UTF-8 wide characters may not be displayed
correctly. For these characters, it is highly recommended that you use the
string.uchar function.
6. When the script is complete, click Set Script to execute it.
In a TI-Nspire document, the script application is inserted in a new
page. When the page containing the script application is active, the
Documents Toolbox is empty.
In a PublishView document, a frame containing the script application
is added to the active page. You can move or size this frame just as
you would any other PublishView object, and you can add other
PublishView objects to the page.
7. To view the script application, click Focus Script.
Editing Scripts
To edit an existing script, follow these steps.
1. Open the TI-Nspire or PublishView document that contains the script.
The page containing the script must be active.
2. Select the page and the work area that contains the script.
Writing Lua Scripts 525