Token Programming
Defined Tokens
Stratagy I&M 06/02
7-19
T
o
ken Pr
ogramming
+( )
Addition—enables you to perform modifications to values for calculation and control. Ideal for
controlling limits and loops.
Syntax
+(%Sn[,item])
where:
%Sn
One of the %S storage variables (range: 0~19).
item
Positive or negative value or another %S variable. Defaults to 1 if not specified.
=( )
Equate—gives the specified storage variable the value specified. The value may be a string or a
numeric and should be quoted. The four-option syntax enables substring assignments.
Syntax
=(%Sn,item)
=(%Sn,item,start,end)
where:
%Sn
One of the %S storage variables (range: 0~19).
item
Any alphanumeric string. Can contain %S variables.
start
Starting character position for assigning a portion of item.
end
Ending character position to assign when used with start.
Examples
=(%S1,"FRENCH")
Gives %S1 the value of “FRENCH”.
=(%S1,"FRENCH",3,5)
Gives %S1 the value of ENC (E is the start character and C is the end character).
=(%S1,%S2,1,3)
where %S2 = 7530414. Extracts prefix of the telephone number in %S2 (the first through third
number) and gives %S1 the value of 753.
¦( )
Append variables to file—writes all twenty %S variables (%S0~%S19) to the specified file. If the file
already exists, the variable values are appended to the file; otherwise, the file is created. The values
are separated by commas and terminated by a new line.
Note Use two backslashes \\ to signify one backslash \. For example, to specify the file name
C:\STRATAGY\NEW.TXT, use C:\\STRATAGY\\NEW.TXT.
The ¦( ) token is supported by IVP8.
Syntax
¦(file)
where:
file
Valid DOS file name.
Table 7-3
Defined Tokens (continued)
Token
Description
Содержание Stratagy Flash
Страница 20: ...Contents Index viii Stratagy I M 06 02 ...
Страница 24: ...Introduction Related Documents Media xii Stratagy I M 06 02 ...
Страница 52: ...Installation Step 16 Optional Back up Database Mailbox Names and Greetings 2 18 Stratagy I M 06 02 ...
Страница 102: ...Configure Stratagy SMDI Serial Integration 4 38 Stratagy I M 06 02 ...
Страница 204: ...Customization Examples Auto Menu Examples 8 28 Stratagy I M 06 02 ...
Страница 214: ...AMIS Networking AmisNodeList 9 10 Stratagy I M 06 02 ...
Страница 222: ...System Reports Report Menu Field Descriptions 10 8 Stratagy I M 06 02 ...
Страница 250: ...Special Greeting User ID Mailboxes Operator Mailbox Greeting B 6 Stratagy I M 06 02 ...