Token Programming
Defined Tokens
7-18
Stratagy I&M 06/02
W( )
Wait (pause) for event—general wait token that enables Stratagy to wait for confirmation of specific
events. It is useful for confirming dial tone and for notification to confirm that the appropriate answer
has occurred. If the event does not occur, Stratagy terminates all remaining token processing.
Syntax
W(n)
W(n,P)
W(n,V)
W(n,T)
where:
n
Wait (pause) for n tenths of a second.
n, P
Wait up to n rings for a pager/beeper to answer.
n, V
Wait up to n rings for a voice to answer.
n, T
Wait up to n seconds to hear a dial tone.
Example
W(3,P)
Waits 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.
X( )
Creates a zero length file called file.
Syntax
X(file)
where:
file
Valid DOS file name.
Example
X(NEW.TXT)
Creates zero length file NEW.TXT.
Y( )
Deletes file.
Syntax
Y(file)
where:
file
Valid DOS file name. Can be a variable.
Example
Y(OLD.TXT)
Deletes the file OLD.TXT.
Z( )
Execute Done chain User ID—checks for the existence of file. If the file exists, Stratagy executes the
Done chain User ID. If the file does not exist, the system processes additional tokens.
Syntax
Z(file)
where:
file
Valid DOS file name. Can be a variable.
Example
Z(CHECK.TXT)
Stratagy checks if the file CHECK.TXT exists. If the file exists, Stratagy executes the RNA chain User
ID.
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 ...