CLANAM |
clanam returns the names of the variable classes that are accessible in the current application.
clanam(< class | num_exp >)
|
Element |
Description |
Restrictions |
|
class |
Describes the abbreviation of a class |
The class must exist. |
|
num_exp |
Numeric expression that describes a class |
exp_num >= 0 |
# List of classes that are accessible in the current application Libelle I, NBCLA I = 1: NBCLA = 200 Repeat If clalev( I) <> 0Infbox clanam(I)
Endif I += 1 Until I > NBCLA
clanam returns the name of the class for which the abbreviation or internal number is given in parameters. 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 the function returns an empty string ("").
The result of the function is of the Char type.
|
Error |
Description |
|
ERDOM (50) |
exp_num < 0. |
CLALEV - CLASIZ - CLANBS - CLAVAR
|
|