Toshiba Stratagy 4 Installation And Maintenance Manual page 179

Hide thumbs Also See for Stratagy 4:
Table of Contents

Advertisement

,
STRATAGY
4/6/24
INSTALLATION
AND
MAINTENANCE
MANUAL
SEPTEMBER
1994
TOKEN
1
FUNCTION
Defined
Tokens
(continued)
DEFINITION
W( )
Wait or pause
(continued)
for event.
Example:
W(3,P)
Wait up to 3 rings for a paging/beeping
system to answer. You
can use this to confirm that the paging company answered
before playing DTMF to the paging company for pager
notification of messages.
+( 1
Addition.
Syntax:
+(%Sn,item)
Where:
=( )
Assignment.
%Sn One of the %S storage variables (range: 0 - 9).
item
Positive or negative value or another %S variable.
Description:
Allows you to perform modifications
to values for
calculation and control. Ideal for controlling limits and loops.
Syntax:
=(%Sn,"item'?
=(%Sn, "item',start,end)
Where:
%Sn One of the %S storage variables (range: 0 - 9).
item Any alphanumeric
string.
May contain %S variables.
start
Starting
character position for assigning a portion
of
item.
end Ending character position to assign when used with
start.
Description:
Gives the specified storage variable the value specified.
The value may be a sting or a numeric and should be quoted. The four-
option syntax allows for substring
assignments.
Examples:
=(%Sl ,"FRENCH")
Gives %Sl the value of "FRENCH".
=(%Sl ,"FREN CH",3,5)
Gives %Sl the value of ENC (E is the
start character and C is the end character).
=(%Sl ,%S2,1,3) where %S2 = 7530414
Extracts prefix of the
telephone
number in %S2 (the first through
third number) and
gives %Sl the value of 753.
Table 6-2
Token Programming
language
Tokens (continued)
6-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stratagy 6Stratagy 24

Table of Contents