AFFZO

Contents


"affzo“ is used to display some or all of the zones in a mask.

 

Syntax

Affzo [ class ] [ list_zones]

 

Parameters

 

Element

Description

Restrictions

class

If this parameter is missing, the default mask is used.

class indicates a mask open with the Mask command.

list_zones

List of id_zones separated by the character ','.
All the fields of the mask are involved by default.

None

id_zone

Identification of a zone in one of the following forms:
nom_de_variable
nom_de_variable '(' exp_ind ')'
int_zones
no_rang
int_rangs
"="expr_c

The zones that are given names must be defined in the corresponding mask.

exp_ind

Integer expression whose value is the index of the variable to be displayed.

The index must be in the range defined by the repeat factor.

int_zones

Zone range, that is, two zone names separated by the ‘-‘ character (minus sign).

The two zones must belong to the corresponding mask

no_rang

Integer whose value is a rank number.

1 <= no_rang <= 99

int_rangs

Rank range, that is, two rank numbers rang1 and rang2 separated by the ‘-‘ character.

rang1 <= rang2

expr_c

Alphanumeric expression whose result is a variable name or a rank.

 

 

Examples

# In the current mask, display of zones in rank 1, 15 to 30
# and zones CHP1, VAR to FIN.

Affzo 1, 15-30, CHP1, VAR-FIN

# In abbreviation mask ABC, display of zones in rank 20 to
# 30 and zone TOTO for index I+1.
.
Affzo [ABC]20-30, TOTO(I+1)

# Display of FIRST and LAST fields. The display sequence is
# that of the ranks and not of the parameters for
Affzo .
Affzo DERNIER, PREMIER

# Display of all zones in FACT keyword mask.
Affzo [FACT]

# Display of fields in the current mask.
Affzo

 

Description and comments

"affzo“ is used to display some or all of the zones in a mask.

When zones are displayed by Affzo, the display sequence used is always taken from the input ranks and the position of fields on the screen. Therefore in order to change the display sequence, several “affzo” instructions are needed.

Similarly, when there is a range of zones to be displayed, the input order is used to establish the zones in the range.

If the Adonix system variable zonsui contains the name of a mask xone, the display starts from this zone. [S]zonsui will be reset as "empty string" after the display.

 

Comments

The instruction Affzo class will set the screen as being valid; the field checks will not be performed. The instruction Affzo on rank(s) or field(s) does not alter the validity status of the mask.

 

Associated errors

Error

Description

ERVARI (6)

Non-existant zone in the mask concerned.

ERCLAS (7)

Non-declared mask.

 

Associated key words

MASK - DEFAULT - EFFZO - ZONSUI - SETMOK


CONTENTS


Copyright © Sage 1999 - 2007