Using Short And Long Names; Using Library Objects - Texas Instruments TI-NSPIRE Software Manual

Cas computer software
Hide thumbs Also See for TI-NSPIRE:
Table of Contents

Advertisement

A
library object does not appear in the Catalog, but you can
Private
access it by typing its name. Private objects serve well as building blocks
that perform basic, low-level tasks. Typically, private library objects are
called upon by the public functions and programs.
A
library object appears in the Catalog's library tab
Public
you refresh the libraries. You can access a public library object through
the Catalog or by typing its name.
Note: In library programs and functions defined as public, a comment
line (©) immediately following the
displayed as help in the Catalog. You could, for example, show a syntax
reminder there.

Using short and long names

Anytime you are in the same problem where an object is defined, you
can access it by entering its short name (the name given in the object's
command). This is the case for all defined objects, including
Define
private, public, and non-library objects.
You can access a library object from any document by typing the object's
long name. A long name consists of the name of the object's library
document followed by a backslash "\" followed by the name of the
object. For example, the long name of the object defined as
library document
Note: If you cannot remember the exact name or the order of arguments
required for a private library object, you can open the library document
or use the Program Editor to view the object. You also can use
to view a list of objects in a library.
getVarInfo

Using library objects

Before using a library variable, function, or program, make sure that
these steps have been followed:
The object has been defined with the
command specifies either the LibPriv or LibPub attribute.
The object resides in the first problem of a library document. The
document must reside in the designated library folder (
Documents\TI-Nspire\MyLib
requirements.
If you defined the object using the Program Editor, it has been stored
using
Check Syntax & Store
Working with TI-Nspire™ libraries
is
lib1
lib1\func1
) and must meet the naming
or
Prgm
Func
.
Define
from the Program Editor menu.
line is automatically
func1
command, and the
My
after
in the
313

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-nspire

Table of Contents