MASKABR |
maskabr returns the open screens' abbreviations.
maskabr(<class | num_exp>)
|
Element |
Description |
Restrictions |
|
class |
Describes a screen's abbreviation |
The class must exist. |
|
num_exp |
Numeric expression that describes a screen |
num_exp >= 0 |
# List of abbreviations of the open screens in the current # application Description I, J, NBMSK: NBMSK = 25 Char VARMSK (10) (1..NBMSK) I = 1: J = 1 RepeatIf maskabr(I) <> ""
VARMSK(J) = maskabr(I)
J += 1 Endif I += 1 Until I > NBMSK
maskabr returns the abbreviation of the screen for which the abbreviation or internal number is given in parameters. In the event of an abbreviation, the screen must be open. The internal number (used by Adonix) corresponds to the line number in the list of open screens displayed in the debugger, and starts with one (1). No error is returned when a numeric parameter does not correspond to a single open screen, since the function returns the empty string ("").
The result of the function is of the Char type.
|
Error |
Description |
|
ERCLAS ( 7) |
Class does not exist |
|
ERDOM (50) |
exp_num < 0. |
MASK - MASKNAM - MASKNBF - MASKCOU
|
|