CLALEV |
clalev is used to establish whether or not a class of variables is accessible from the current application.
clalev( < class |exp_num > )
|
Element |
Description |
Restrictions |
|
class |
Description of a class. |
None. |
|
exp_num |
Numerical expression indicating a class. |
exp_num >= 0 |
# List of classes accessible from the current application Text I, NBCLA = 200
I = 1 RepeatIf clalev( I ) <> 0
Infbox clanam( I ) Endif I += 1 Until I > NBCLA# Output from a sub-programme that can be called by "tunnel" Close Local File [CLF]
If clalev ([F:CLF]) and CLECUR <> ""
Read [CLF]CODCLF = CLECUR Endif
clalev is used to determine whether or not a class whose keyword or internal number is given in the argument is used. If it is, the function returns a 1, otherwise it returns a 0. The internal number (used by Adonix) matches the line number in the list of variable classes displayed in the debugger, and starts with 1.
The result of the function is an Integer type.
|
Error |
Description |
|
ERDOM (50) |
exp_num < 0. |
CLANAM - CLASIZ - CLANBS - CLAVAR
|
|