Encrypt, Errorcode, Errorline – Xerox -05W User Manual

Page 235: Exit, Fact

Advertising
background image

12-31

Creating A Script File

ENCRYPT

Syntax: ENCRYPT <result> <string> <key>

Encrypts a string, where

<result>

is a previously defined string variable (see var) which will store the
encrypted string.

<string>

is a string or string variable containing the string to encrypt.

<key>

is one or more characters that are used to define how the string is
encrypted. These can be any characters except nulls.

Each character in the string will be represented as two hexadecimal characters in the
resulting encryption. The hexadecimal characters will vary according to the <key>
characters specified. You can use the decrypt command to convert the encrypted
string back to normal characters.

The Error Numbers section lists the possible error numbers for this command.

ERRORCODE

Syntax: ERRORCODE <variable>

This command specifies the type of error code that will be returned when an error is
encountered in the script program. Specifying an integer variable will return an error
ID number, while a string variable will return an error message. Refer to the Script
Error Trapping Functions
section later in this chapter for details.

ERRORLINE

Syntax: ERRORLINE <variable>

This command will return the line number of the last script program error. Refer to
the Script Error Trapping Functions section later.

EXIT

Syntax: EXIT

Terminates the script program but does not exit TeemTalk.

FACT

Syntax: FACT

This will cause TeemTalk to reassert the original setup configuration it had when you
first installed it.

Advertising
This manual is related to the following products: