Reference Guide

3-12 Full Command and Function Reference
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
#n
1
#n
2
#n
3
“string
1
“string
2
“string
3
T/F
1
T/F
2
0/1
T/F
'symb'
'T/F
AND symb'
'symb'
T/F
'symb AND T/F''
'symb
1
'
'symb
2
'
'symb
1
AND symb
2
'
See also: NOT, OR, XOR
ANIMATE
Type: Command
Description: Animate Command: Displays graphic objects in sequence.
ANIMATE displays a series of graphics objects (or variables containing them) one after the other.
You can use a list to specify the area of the screen you want to animate (pixel coordinates #X and
#Y), the number of seconds before the next grob is displayed (delay), and the number of times the
sequence is run (rep). If rep is set to 0, the sequence is played approximately one million times
(1,048,575 cycles), or until you press (the $ key).
If you use a list on level 1, all parameters must be present.
If the list specifier is not used, the delay between each grob will default to 0.1 second.
The animation displays PICT while displaying the grobs. The grobs and the animate parameters
are left on the stack.
Access: !°L
GROB
L
ANIMATE
( °is the left-shift of the Nkey).
Input/Output:
Ln+1.../A1 L1/An+1 L1/I1
grob
n
...grob
1
n
grobs
same stack
grob
n
...grob
1
{ n {#X#Y } delay rep }
same stack
L = Level, A = Argument, I = item
Example: The following program draws half a cylinder and rotates it:
« PARSURFACE { 'COS(X)' 'SIN(X)' Y }
STEQ
« I 180 I + XXRNG ERASE DRAW PICT RCL »
I 0 359 8 SEQ OBJ ANIMATE DROPN »
This program also illustrates the use of SEQ and PARSURFACE. You can adjust the increment
value used with SEQ (8 is used here) to change the number of images drawn by the program, or
to use less memory.
See also: BLANK, →GROB
ANS
Type: Command
Description: Recalls the nth answer from history, where n is an integer, in algebraic mode only. When called
directly from the keybard in RPN mode, it takes no input and performs the LASTARG
command. When the command name is typed manually in RPN mode, it performs PICK, with
the exception that any stack levels containing null-tagged expressions (surrounded by
`