Input/Output:

 

 

Level 2/Argument 1

Level 1/Argument 2

 

Level 1/Item 1

 

 

 

 

 

 

 

 

obj1

obj2

0/1

 

 

(x,0)

x

0/1

 

 

x

(x,0)

0/1

 

 

z

'symb'

'z == symb'

 

 

'symb'

z

'symb == z'

 

 

'symb1'

'symb2'

'symb1 == symb2'

 

 

 

 

 

 

See also:

SAME, TYPE, <, ≤, >, ≥, ≠

 

 

 

 

 

 

 

 

 

(Store)

Type:

Command

 

 

 

Description:

Store Command: Stores an object into a specified variable. To create a backup object, store the obj

 

into the desired backup location (identified as :nport:namebackup).  will not overwrite an existing

 

backup object. To replace an element of an array or list, use STO. Also use STO to store a

 

graphic object into PICT or a library or backup object into a port.

 

Access:

K

 

 

 

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

 

Level 2/Argument 1

Level 1/Argument 2

 

Level 1/Item 1

 

 

 

 

 

 

 

 

obj

'name'

obj

 

 

obj

:nport :namebackup

obj

 

 

 

 

 

 

See also:

DEFINE, RCL, →, STO

 

 

 

 

 

 

 

 

 

(Create Local)

Type: Command

Description: Create Local Variables Command: Creates local variables.

Local variable structures specify one or more local variables and a defining procedure.

A local variable structure consists of the → command, followed by one or more names, followed by a defining procedure — either a program or an algebraic. The → command stores objects into local variables with the specified names. The resultant local variables exist only while the defining procedure is being executed. The syntax of a local variable structure is one of the following:

 

name1 name2 … namen « program »

 

 

name1 name2 … namen 'algebraic expression'

 

Access:

É

(É is the right-shift of the 0key).

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Leveln/Argument1 7 Level1/Argumentn

Level 1/Item 1

 

 

 

 

 

 

 

 

 

 

obj1 objn

Example 1:

This program:

 

 

 

 

 

 

 

« → x y « x y * x y - + » »

 

 

takes an object from level 2 and stores it in local variable x, takes an object from level 1 and stores

 

it in local variable y, and executes calculations with x and y in the defining procedure (in this case a

 

program). When the defining procedure ends, local variables x and y disappear.

Example 2:

A user-defined function is a variable containing a program that consists solely of a local variable

 

structure.

 

 

 

For example, the variable A, containing this program:

 

Full Command and Function Reference 3-303