Wildcard symbols, Operators – Kentrox AI232 User Manual

Page 167

Advertising
background image

AI232 Version 9.6x User’s Guide

Alias and Call Routing Configuration: Alias Macros

7-21

Wildcard Symbols

Macros have two available wildcard symbols:

z

?

matches any single character.

z

*

matches zero or more characters.



Note: Alias names that use wildcards are not really macros. Wildcards are not

processed in alias names that start with ‘=’.

Operators

Operators are used for calculation of mathematical expressions in alias macros.
AI232 evaluates expressions from left to right in order of precedence as shown in

Table 7-10

. To change the order of precedence, a programmer may enclose a portion

of an expression in parentheses ( ) to calculate that portion first.

AI232 evaluates both regular and boolean logic operators. Refer to

Table 7-10

for a

list of all available operators in order of precedence.

4+3*2

Specifies an equation that equals 10.

(4+3)*2

Specifies an equation that equals 14.

Table 7-10 Operators in Order of Precedence

Operator

Description

#

Specifies a comment at the ends the alias macro expression.

*
/
%

Specifies a multiplication operation.
Specifies a division operation.
Specifies the remainder of a division operation.

+
-

Specifies an addition operation.
Specifies a subtraction operation.

Expressions that use the following operators return “0” for a false condition and “-1”
for true condition:

<<
<<=
=
>
>=
<<>

Specifies a less than evaluation.
Specifies a less than or equal to evaluation.
Specifies an equal to evaluation.
Specifies a greater than evaluation.
Specifies a greater than or equal to evaluation.
Specifies a not equal to evaluation.

Advertising