
B-63943EN-2/01 5.MACRO VARIABLES
- 89 -
5.1 MACRO VARIABLE LIST
The following variables can be used in P-CODE macros.
Variable
number
Type Remarks
Conversational
macro
Auxiliary
macro
Execution
macro
#1 to 33 Local variable
The local variables used in a
conversational macro and those used in
an auxiliary macro are independent of
one another.
The local variables used in an execution
macro can also be used in a custom
macro.
If array variables are effective, no local
variables can be used in conversational
macros and auxiliary macros.
¡¡¡
#1 to 99 Array variable
Array variables cannot be used if local
variables are effective.
(This applies to the array variables in
conversational macros and auxiliary
macros.)
¡¡×
#100 to 199
Volatile common
variable
The same volatile common variable can
be used in any of conversational macros,
auxiliary macros, and execution macros.
Using bits 0 (MV0) and 1 (MV1) of
parameter (No. 9034), it is possible to
specify whether volatile common
variables can also be used as custom
macro common variables or they are to
be used as independent P-CODE macro
common variables.
¡¡¡
#500 to 999
Nonvolatile
common variable
The same nonvolatile common variable
can be used in any of conversational
macros, auxiliary macros, and execution
macros. Using bits 2 (MV2) to 7(MV7) of
parameter (No. 9034), it is possible to
specify whether nonvolatile common
variables can also be used as custom
macro common variables or they are to
be used as independent P-CODE macro
common variables.
¡¡¡
#1000 to System variable
The variables used in custom macros can
also be used as system variables.
#10000 to #29999 are used as P-CODE
variables and extended P-CODE
variables. So, #100000 and up are
used.
¡¡¡
#10000 to
19999
P-CODE variable
The same P-CODE variable can be used
in any of conversational macros, auxiliary
macros, and execution macros. The
upper limit on the variable number is
determined with bit 3 (EV2) of parameter
(No. 9033) and parameter (No. 9053).
¡¡¡