MASKSIZ |
masksiz returns the size (in bytes) used by open screens.
masksiz(<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 |
# Names and size of the open screens in the current application Libelle I, NBMSK I = 1: NBMSK = 25 RepeatInfbox masknam(I)-num$(masksiz(I))
I += 1 Until I > NBMSK
masksiz returns the size in bytes for a given screen either by its abbreviation or its internal number (used by Adonix). This number 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 value zero (0).
The result of the function is of the Integer type.
|
Error |
Description |
|
ERCLAS ( 7) |
Class does not exist |
|
ERDOM (50) |
exp_num < 0. |
MASK - MASKABR - MASKNBF - MASKNAM - MASKCOU - MASKLEV
|
|