Comments, Constants, Variables – Kentrox AI232 User Manual

Page 166

Advertising
background image

AI232 Version 9.6x User’s Guide

Alias and Call Routing Configuration: Alias Macros

7-20

Comments

Comments are added at the programmer’s discretion to explain macro functionality.
Comments can be entered either on a blank line or at the end of a line containing a
macro. To enter a comment on a blank line, it must begin with two forward slashes (//).
To enter a comment in a field with a macro, it must begin with a pound sign (#) at the
end of a macro.

This example displays a comment on its own line in the

Application String

field and a

comment after a macro in the

Alternate Route

field.



Note: The pound sign (

#

) can be entered as part of the macro string if it is enclosed

in either single or double quotes. The pound sign may be either directly
enclosed (

=A+’#’+D(C)

), or the string that the pound sign resides in may be

enclosed (

=‘198.127.1.4#23’

).

Constants

Macro constants are either fixed alphanumeric characters enclosed in single or
double quotes or integers between positive and negative 2,147,483,647. All constant
strings equal zero. Constant strings cannot be used in mathematical functions.

Variables

Several variables are recognized by macros. Refer to

Table 7-9

for more information.



Note: Variables are not case-sensitive.

Application String . ........................................... //links 1-4
Alternate Route . . ................................. ="6145550384"#from OH

Table 7-9 Macro Variables

Variable

Value

C

(CUD)

Specifies a “call user data” variable.

A

(CALLED)

Specifies a “called address” variable.

B

(CALLER)

Specifies a “caller’s address” variable.

Advertising