Difference between revisions of "MC-Basic:VARLIST"
m (Text replace - "<value>" to "<''value''>") |
|||
Line 43: | Line 43: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:AXISLIST|AXISLIST]] |
* [[Axystems:MC-Basic:GROUPLIST|GROUPLIST]] | * [[Axystems:MC-Basic:GROUPLIST|GROUPLIST]] | ||
* [[Axystems:MC-Basic:TASKLIST|TASKLIST]] | * [[Axystems:MC-Basic:TASKLIST|TASKLIST]] |
Revision as of 08:35, 22 May 2014
This query returns a list of the variable and constant names defined in the system. If wildcards are used, the query returns the proper existing variable or constant data. The variable types and their values are displayed in the following format:
{const} <type> <var_name> = <value>
The constants names are shown with the const word .
Syntax
?VarList {<var_name>}
Availability
All versions
Scope
Terminal
Limitations
Read only
Examples
-->?varlist
-->?varlist i* 'Returns the variables that start with the letter i
-->LONG iVariable = 221
-->CONST LONG iConst = 1