HP 3000 Manuals

What Are Storage Items? [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Self-Paced Training Guide

What Are Storage Items? 

The dictionary storage items are somewhat different from the other
dictionary entries.  In contrast to dictionary field specifications,
storage items do hold application data.  The dictionary storage items
are:

   *   Variables.

   *   Calculated items.

   *   Numeric constants.

   *   Alphanumeric constants.

   *   Scratch-pad field names.

   *   Application titles.

   *   Work areas.

HP ALLBASE/4GL variables are similar to variables in other programming
systems.  You can specify the number of characters, the edit code, and
number of decimal places for a variable.

Calculated items are variables that are evaluated each time they are
called by an application.  The value of a calculated item is the result
of an arithmetic expression or a logic function that is evaluated when
the item is called.

The scratch-pad contains up to 99 scratch-pad fields.  Each scratch-pad
field is a temporary storage area that you can use for storing data
within an application.

Each scratch-pad field takes on the attributes of the data written into
it, and the combined scratch-pad only uses the amount of system memory
required to hold the data contained within it at any given time.



MPE/iX 5.0 Documentation