Substring Referencing [ HP ALLBASE/4GL Developer Quick Reference Guide ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Quick Reference Guide
Substring Referencing
data_ref[starting_position, number_of_characters]
data_ref[starting_position, number_of_characters].qualifier
Substring references must occur after the normal field reference
(including subscript), but before any qualifier.
You can represent both the starting_position and the number_of_characters
entries with one of the following items containing the required values:
* Number <= 255.
* Numeric constant.
* Numeric variable or calculated item.
* Screen field reference.
* Scratch-pad field reference.
* File record field reference.
* Work area field reference.
Always use the screen name, work area name, or file and record layout
name as a qualifier for S-, W-, or F- references.
MPE/iX 5.0 Documentation