Toshiba Strata CIX Programming Manual page 212

Application release 5
Hide thumbs Also See for Strata CIX:
Table of Contents

Advertisement

Token Programming
Defined Tokens
Table 11-3
Defined Tokens (continued)
Token
Addition–enables you to perform modifications to values for calculation and control. Ideal for
controlling limits and loops.
Syntax
+( )
where:
%Sn
item
Equate–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 enables substring assignments.
Syntax
where:
%Sn
item
start
end
=( )
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.
Exists in file–searches the specified file for the specified item. Stratagy ES searches the file on a
line-by-line basis and the item is found when it matches an entire line within the file. If the item is
found, processing continues at the mailbox specified; if not, processing continues with the next token.
One use of this token is to control the use of a fax-on-demand feature (not currently supported). If you
find that someone is having a document faxed repeatedly to a phone number (perhaps the phone
number of someone who does not want your fax), you can enter such numbers into a file, then
program Stratagy ES to check an entered fax number against those in the file and, if found, branch to
a mailbox which plays a greeting saying that the entered phone number is invalid and then hang up. If
the entered number were not found in the file, then processing would continue normally and the fax
would be sent to the requester.
?( )
Note Use two backslashes \\ to signify one backslash \. For example, to specify the file name
Syntax
where:
item
file
uid
11-20
+(%Sn[,item])
One of the %S storage variables (range: 0~19).
Positive or negative value or another %S variable. Defaults to 1 if not specified.
=(%Sn,item)
=(%Sn,item,start,end)
One of the %S storage variables (range: 0~19).
Any alphanumeric string. Can contain %S variables.
Starting character position for assigning a portion of item.
Ending character position to assign when used with start.
C:\Stratagy ES\NEW.TXT, use C:\\Stratagy ES\\NEW.TXT.
?(item,fsile,uid)
Any alphanumeric string. Can contain %S variables.
ASCII text file specified by a DOS file name. Can be a variable.
Valid mailbox.
Description
Strata CIX Voice Mail Programming
01/07

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Strata cix stratagy es voice mail

Table of Contents