HP 3000 Manuals

SCROLL Command [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Reference Manual Vol. 2

SCROLL Command 

The SCROLL command displays data in the scroll area of the current
screen.

Format 

SCROLL [data_ref]...

Parameters 

data_ref 

The item or items to be displayed, each of which may be one of the
following:

   *   Number (representing a number of spaces).

   *   Literal.

   *   Master title name.

   *   Numeric or alphanumeric constant.

   *   Variable or calculated item.

   *   Screen field reference.

   *   Scratch-pad field reference.

   *   File record field reference.

   *   Work area field reference.

   *   Communication area field.

Description 

The SCROLL command displays data on the appropriate scroll line of the
current screen.  HP ALLBASE/4GL displays data on the first line of the
scroll area if the scrolling direction is down, and on the last line of
the scroll area if the scrolling direction is up.

HP ALLBASE/4GL displays the contents of each data_ref in the order that
you enter the arguments.  HP ALLBASE/4GL does not add any intervening
spaces.  If you want to add intervening spaces to the scroll line, you
can specify a number as a data reference.  HP ALLBASE/4GL interprets the
number as the same number of spaces.

The action of the SCROLL command is similar to the DISPLAY command except
that HP ALLBASE/4GL does not clear the scroll area, and you cannot
specify the line where the display occurs.

Example 

     SCROLL *S01 3 *S02 "/" *S03 "/" *S04 5 "Added"

This command displays the first four screen fields.  Field 1 is displayed
followed by three spaces.  Then the next three fields are displayed with
embedded slashes, and finally five spaces are left followed by the word
Added.



MPE/iX 5.0 Documentation