WWW.NNC.IR
Macro Reference
796
Vision System FH/FZ5 Series
User’s Manual (Z340)
VarList
Outputs a list of the values of the specified variables in the system status console window.
Format
VarList [<variableName>]
Parameter
Return value
None.
Description
Outputs the values of the variables specified in the <variableName> parameter to the system status console
window.
This macro function cannot output the values of the elements of an array variable. To output the value of each
element of an array variable, specify each element of the array variable by entering a question mark (?), a
half-width space ( ), and then the array variable and the element number (for example, "? AA&(5)").
Characters * (character string wildcard operator) and ? (single character wildcard operator) can be used as
wildcards for the <variableName> specification.
Wildcards can be used to specify file names in the following manner.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• Use this macro function when program execution has been stopped by the Stop function.
Parameter
name
Data type Description
<variableName>
Character
string type
Name of variable to be output.
This parameter can be omitted.
When the parameter is not specified, a list of the values of the variables used in the
current scope is output.
* Specify all variables.
??? Specify variables with a 3-character variable name.
A* Specify variables with a variable name that starts with "A".
*A*A*A* Specify variables with a variable name that includes at least three "A" letters.
????* Specify variables with a variable name that consists of four or more characters.