xi
Working with TI-Nspire™ libraries.....................................311
What is a library?........................................................................ 311
Creating libraries and library objects ........................................ 312
Private and Public library objects .............................................. 312
Using short and long names............................................... 313
Using library objects................................................................... 313
Using a public library object............................................... 314
Using a private library object ............................................. 314
Included libraries ........................................................................ 314
Programming ......................................................................315
Overview of the Program Editor ............................................... 315
The Program Editor menu ......................................................... 316
Defining a program or function................................................ 319
Starting a new Program Editor .......................................... 319
Entering lines into a function or program ........................ 320
Inserting comments............................................................. 321
Checking syntax................................................................... 322
Storing the function or program ....................................... 322
Viewing an existing program or function................................. 322
Opening an existing function or program................................ 323
Importing a program from a library ......................................... 324
Creating a copy of a function or program................................ 324
Renaming a program or function ............................................. 325
Changing the library access level .............................................. 325
Finding text................................................................................. 326
Closing the current function or program ................................. 326
Running programs and evaluating functions........................... 326
Using short and long names............................................... 326
Using a Public library function or program....................... 327
Using a Private library function or program ..................... 327
Running a non-library program or function ..................... 328
Getting values into a program .................................................. 328
Example of passing values to a program........................... 329
Displaying information .............................................................. 330
Using local variables................................................................... 330
Example of a local variable................................................. 330
What causes an undefined variable error message? ........ 331
You must initialize local variables...................................... 331
Performing symbolic calculations....................................... 332
Differences between functions and programs ......................... 332
Calling one program from another........................................... 332
Calling a separate program................................................ 333
Defining and calling an internal subroutine..................... 333
Notes about using subroutines .......................................... 334