MASKSIZ

Contents


masksiz returns the size (in bytes) used by open screens.

 

Syntax

   masksiz(<class | num_exp>)

 

Parameters

Element

Description

Restrictions

class

Describes a screen's abbreviation

The class must exist.

num_exp

Numeric expression that describes a screen

num_exp >= 0

 

Examples

   # Names and size of the open screens in the current application
    Libelle I, NBMSK
    I = 1:  NBMSK = 25
    Repeat
       Infbox masknam(I)-num$(masksiz(I))
       I += 1
    Until I > NBMSK

 

Description and Comments

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.

 

Associated Errors

Error

Description

ERCLAS ( 7)

Class does not exist

ERDOM (50)

exp_num < 0.

 

Associated Keywords

MASK - MASKABR - MASKNBF - MASKNAM - MASKCOU - MASKLEV


CONTENTS


Copyright © Sage 1999 - 2007