MC-Basic:VARLIST$

From SoftMC-Wiki
Revision as of 12:38, 2 January 2018 by Miborich (talk | contribs) (Miborich moved page varlist$ to MC-Basic:VARLIST$)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English

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$ (<string>)

Availability

All versions
Returns a string and can be used in all scopes from version 4.15.1.

Type

<return value>: String

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

-->?varlist$("")

-->?varlist$("i*")                        'Returns the variables that start with the letter i

-->LONG iVariable = 221

-->CONST LONG iConst = 1

See Also