beautypg.com

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

Page 235: Exit, Fact

background image

12-31

Creating A Script File

ENCRYPT

Syntax: ENCRYPT

Encrypts a string, where

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

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

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
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

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

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.

This manual is related to the following products: