Chapter 11: Programming Amanda
101
~
Literal that pulse dials the digit 1 to effect a timed break recall.
+(variable
[,value])
Command that allows you to add a number to or subtract a number from the value stored
in a variable. Usually used to set limits and control programming loops.
variable
One of port or global variables.
value
Optional. A number or variable. The default is 1.
Example:
+(%S7,-1)
subtracts 1 from the value stored in %S7.
+(%G6)
adds 1 to the value stored in %
G6
.
Failure:
Does not fail
<(phone_no)
Command that allows a caller to request and transmit multiple fax documents with one
call. It must be used in conjunction with the >() command. To fax multiple documents,
you initiate the process with this command and, as the caller requests faxes, you add the
file for the requested document using the >() command. The fax is sent automatically
after the caller hangs up.
phone_no
String, number, or variable containing the DTMF digits to be dialed.
This command is used only in Extension fields.
Example:
<(9,7144525570)>(C:\\AMANDA\\PRICES.TXT)>
(C:\\AMANDA\\OPTIONS.TXT)>(C:\\AMANDA\\OPTIONS.TXT)
causes Amanda to call (714)452–5570 (after dialing 9 for an outside line and pausing).
Then Amanda faxes two files. Duplicate files are ignored.
Failure:
Does not fail
=(variable,value
[,start,end])
Command that gives the specified variable the specified value. Use
start
and
end
to as-
sign only part of the string (a substring) to the variable.
variable
One of the port or global variables.
value
A string, number, or variable.
start
Optional. The starting character position to copy from
value
. The default is to copy
the entire string.
end
Optional, but must be used if
start
is used. The last character position to copy from
value
.
Examples:
=(%S1,"FRENCH")
Gives %S1 the value of "FRENCH"
=(%S1,"FRENCH",3,4)
Gives %S1 the value of "EN".
If %S2 is the telephone number 7530414,
=(%S1,%S2,1,3)
extracts the prefix 753 from %S2 and assigns it to %S1
If %S3 is 1 and S4 is 1,
=(%S1,"MARY",%S3,%S4)
%S1 is assigned "M".
Alphabetical Token Reference (Continued)
Token Syntax
Description
Содержание [email protected] Version 3.xx
Страница 1: ...Installing AmAndA Work Place Version 3 xx Installer s Guide Edition 7 01...
Страница 4: ...iv Installing Amanda Work Place...
Страница 60: ...52 Installing Amanda Work Place...
Страница 68: ...60 Installing Amanda Work Place...
Страница 132: ...124 Installing Amanda Work Place...
Страница 150: ...142 Installing Amanda Work Place...
Страница 156: ...148 Installing Amanda Work Place...
Страница 194: ...186 Installing Amanda Work Place...
Страница 206: ...198Installing Amanda Work Place...