Xerox 05W, 07W & -11W manual Return, Rstr, Saveset, Seed

Models: 07W & -11W 05W

1 370
Download 370 pages 7.04 Kb
Page 262
Image 262

Creating A Script File

RETURN

Syntax: RETURN

Terminates a gosub command, returning the program to the line following the most recently encountered gosub which has not yet been terminated.

RST

Syntax: RST

This will reset TeemTalk and cause it to assert the last saved setup configuration.

RSTR

Syntax: RSTR <variable> <string> <number>

This command will copy a number of characters from the end of a string and place them in a variable, where

<variable> is a predefined string variable (see var) which will store the copied characters.

<string> is the source string from which characters are to be copied.

<number> is the number of characters to be copied. If this value is greater than the number of characters in the string then the whole string will be copied.

SAVESET

Syntax: SAVESET

This will save the current setup configuration so that it can be reasserted when TeemTalk is subsequently reset or loaded.

SEED

Syntax: SEED <integer>

This will reset the random number generator seed to the integer specified as a string or variable. See also the description of the rand command.

12-58

Page 262
Image 262
Xerox 05W, 07W & -11W manual Return, Rstr, Saveset, Seed