HP 3000 Manuals

Work Area Field Referencing [ HP ALLBASE/4GL Developer Reference Manual Vol. 1 ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Reference Manual Vol. 1

Work Area Field Referencing 

You can reference the content of a work area field by using the relevant
dictionary field specification name prefixed by W- .

You must follow this reference with the name of the work area.

The dictionary field specification name must be defined for the work area
you specify.

You can reference a substring of any non-numeric field.

You can add the occurrence number immediately after the field
specification name if the dictionary field specification allows more than
one occurrence.  The occurrence number must be in brackets.  If you don't
specify an occurrence number and the field specification allows more than
one occurrence, HP ALLBASE/4GL uses the first occurrence of the field.

Formats 

     W-name.work_area 
     W-name[start_pos,number_of_chars].work_area 
     W-name(occurrence).work_area 
     W-name(occurrence)[start_pos,number_of_chars].work_area 



MPE/iX 5.0 Documentation