AI232 Version 9.6x User’s Guide

Alias and Call Routing Configuration: Alias Macros

 

Table 7-10 Operators in Order of Precedence (Continued)

 

 

Operator

Description

 

 

&

Specifies a boolean logical AND evaluation. This requires that two

 

conditions are true before continuing with the evaluation.

 

 

^

Specifies a boolean logical exclusive OR evaluation. This requires that

 

one condition or another (not both) is true before continuing with the

 

evaluation.

 

 

Specifies a boolean logical OR evaluation. This requires that one

 

condition or both conditions are true before continuing with the

 

evaluation.

 

 

!

Specifies a boolean logical NOT evaluation. This changes a true

 

condition to a false condition (and vice versa) before continuing with

 

the evaluation.

 

 

Functions

Functions are preset command keywords that perform string and value conversions. Some functions can be entered with only a single character. For example, s and switch represent the same function.



Note: Functions are not case-sensitive.

Table 7-11 lists available functions and their descriptions in alphabetical order.

 

Table 7-11 Alias Macro Functions

 

 

 

Alias Macro Function

 

Description of Operation

 

 

 

asc(string)

 

Returns the ASCII integer value of the first

 

 

character in a string.

 

 

 

chr$(n)

 

Returns the character that corresponds to ASCII

 

 

integer value n.

 

 

 

hex$(n)

 

Returns the hexadecimal equivalent to decimal

or

 

value n. For example, =hex$(31) returns hex value

h(n)

 

1F.

 

 

 

if(expression,a,b)

 

Returns a if expression is not zero or b if

or

 

expression is zero.

i(expression,a,b)

 

 

 

 

 

7-22

Page 168
Image 168
Kentrox AI232 manual Alias Macro Function Description of Operation