CLAVAR |
clavar returns the names of the variables defined in the classes of the current application.
clavar(< class | num_exp >, var_exp)
|
Element |
Description |
Restrictions |
|
class |
Describes the abbreviation of a class |
None |
|
num_exp |
Numeric expression that describes a class |
num_exp >= 0 |
|
exp_var |
Numeric expression that describes a variable |
var_exp >= 1 |
# List of variables of the [S] class
For I = 1 To NBVARInfbox clavar([S], I)
Next
clavar returns the names of the variables that exist in given classe. The function's first parameter describes a class by its abbreviation or internal number; and, the second parameter describes a variable by its internal number.
A class's internal number corresponds to the line number in the list of variable classes displayed in the debugger, and starts with one (1). The management of the variables' internal numbers is symetrical. No error is returned when a parameter does not correspond to a single accessible class, since clavar returns the empty string ("").
The result of the function is of the Char type.
|
Error |
Description |
|
ERDOM (50) |
exp_var < 0 or exp_num < 0. |
CLALEV - CLASIZ - CLANAM - CLANBS
|
|