Chapter 11: Programming Amanda
111
L(file)
Command that immediately changes the system prompts to use the specified Amanda
system language file. This changes the system prompts, but the greetings of the individ-
ual mailboxes might need to be recorded by the users in the new language.
file
A string or variable containing the name of a valid Amanda system language file (minus
the .IDX extension and the DOS path). Amanda knows that the system language file
names end in .IDX and are located in the Amanda directory.
Examples:
L(ENGLISH)
changes the prompts to those found in ENGLISH.IDX (if your system has a Rhetorex
voice board) or ENGLISH.BDX (if your system is connected to a Norstar KSU) in the
C:\AMANDA directory.
L(SPANISH)
changes the prompts to those found in SPANISH.IDX (if your system has a Rhetorex
voice board) or SPANISH.BDX (if your system is connected to a Norstar KSU) in the
C:\AMANDA directory.
Failure:
Does not fail (If you specify a file that doesn’t exist or is not a prompt file,
Amanda uses the current prompt file.)
LEN[string]
Assumes the value of the total number of characters within a string or digits within a
number.
string
Any string, number, or variable.
N
OTE
:
The brackets in this syntax are bold. The brackets are a required part of the syntax when-
ever you use LEN. Be careful not to confuse them with the non-bold brackets that indi-
cate that the syntax within the brackets is optional.
Example:
LEN[7145551212]
assumes the value 10.
I(
LEN[%S1],=,4,%S1)
checks the length of the DTMF entry stored in %S1 because all extensions have 4 digits.
If %S1 contains a mailbox, Amanda goes to that mailbox. See the I() command for more
information.
Failure:
Does not fail
%M[(mailbox)]
Command that returns the total number of messages for the specified or current mailbox.
Each port has its own %M.
mailbox
Optional. A valid mailbox or a variable containing a mailbox. The default is the current
mailbox.
Example:
%M(321)
contains the number of messages stored for mailbox 321.
Failure:
Invalid mailbox
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...