12-64
Creating A Script File
<bitmap> is either a string containing the name of the bitmap file to use, or an
integer which relates to the standard defined toolbar bitmaps in the
order displayed in the Button Tools dialog box, the first being 0, the
second 1, etc.
<command> can be a key macro string (as described in The Toolbar chapter), or an
integer that relates to a standard command that is listed in the Button
Tools dialog box. Refer to the Button Tool Command Selection
section later for a list of standard commands and related integers.
[space] entered as shown will insert a space before the specified position.
UPP
Syntax: UPP <result> <string>
This command will convert all lowercase characters in a string to uppercase and
place the resulting string in a variable, where
<result> is a predefined string variable (see var) which will store the converted
string.
<string> is the string or variable containing the characters to be converted to
uppercase.
VAR
Syntax: VAR $<name> [<string>]
VAR %<name> [<integer>]
VAR !<name> [<floating point number>]
Specifies one or more variable names for storing one of three types of variable. The
value of the variable may be defined as part of the command or omitted for entering
later, in which case the value will be zero or an empty string.
The name specified for a string variable must be immediately preceded by the $
(dollar) character. For example, to specify an empty string variable with the name
Identity you would enter the following:
var $Identity
The name specified for an integer variable must be immediately preceded by the %
(percent sign) character. For example, to specify an integer variable with the name
number and with a value of 3 you would enter the following:
var %number 3
The name specified for a floating point number (e.g. 0.45) variable must be
immediately preceded by the ! (exclamation mark) character. For example, to specify
a floating point number variable with the name float and with a value of 0.45 you
would enter the following: