CLASIZ |
clasiz returns the size of the buffers used by Adonix to manage the variable classes.
clasiz(< class | num_exp >, buf_exp)
|
Element |
Description |
Restrictions |
|
class |
Describes the abbreviation of a class |
None |
|
num_exp |
Numeric expression that describes a class |
num_exp >= 0 |
|
buf_exp |
Numeric expression that determines the type of buffers for which you calculate the size |
buf_exp >= 1 |
# Memory size used by Adonix to manage the [V] classInfbox num$(clasiz([V], 0))
clasiz returns the size of the buffers used by Adonix in its variable class management. The class is given in the first parameter by its abbreviation or internal number. The second parameter determines the "OBJects" for which the function returns the size in bytes.
These
are the possible values for this parameter and corresponding buffer:
0 -> Memory used by Adonix to manage the class
1 -> Buffer used by Adonix to store the values of
the variables of the class
2 -> Buffer allocated by Adonix to manage the class
With a numeric expression, the internal number (used by Adonix) corresponds to the line number in the list of variable classes displayed in the debugger, and starts with one (1). No error is returned when a parameter does not correspond to a single accessible class, since clasiz returns the value zero (0).
The result of the function is of the Integer type.
|
Error |
Description |
|
ERDOM (50) |
exp_buf < 0 ou exp_num < 0 |
CLALEV- CLANBS - CLANAM - CLAVAR
|
|