INFBOX

Contents


Infbox declares an information box

 

Syntax

   [ Local ] Infbox list_exprg  [ Titled exp_title

 

Parameters

Element

Description

Restrictions

list_exprg

List of generalised expressions separated by the character ','.

The expressions must be alphanumeric and there must be not more than 255.

exp_title

Alphanumeric expression for the title of the box.

length <= 50

 

Examples

# display of an information message by the supervisor
Infbox TEX1(1..NTEX) Titled mess(69,123,1)

 

Description and comments

Infbox is used to declare a box for displaying textual information.

The instruction Infbox has as its first argument the text to be displayed. It is given as a list of alphanumeric expressions, each item in the list being one line of text. If one of the expressions is a dimensioned variable without specifying index or range of indices all the elements in the variable are used. The index or range of indices specified determines the elements to be considered. If a range of indices is given, such that there is no corresponding element, for example CHOIX(1..0), the box will not be displayed.

A text given with more lines than the size of the screen can handle will be truncated.

Optional clauses may then be given:

The Titled clause is used to give a title to the information box other than the standard title.

 

Comments

The selection boxes are closed as soon as the "Ok" button is pressed. The Close instruction does not exist for an Infbox.

 

Associated errors

Error

Description

ERMODE (10)

- The expressions are not alphanumerical.
- the indices given are not numerical.

ERINDI ( 8)

Error in limits for indices.

ERDIM (55)

Too many dimensions given.

PLUMEM (31)

No more memory available.

ERTRWD (79)

Too many OBJects open

 

Associated key words

INPBOX  -  DLGBOX  -   MESBOX  -  ONERRGO   -  INFBOX  -  WRNBOX   -  ERRBOX  -  QSTBOX   -  SELBOX  -  STATUS

 


Contents


Copyright © Sage 1999 - 2007