HP 3000 Manuals

Defining Alphanumeric Constants [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Self-Paced Training Guide

Defining Alphanumeric Constants 

Alphanumeric constants are used in the same way as numeric constants, but
they contain alphanumeric data. 

[]
Alpha-Numeric Constants Screen Menu Path To access the screen from the main menu: 1. Select the Dictionary option. 2. Select the Storage Items option. 3. Choose Alphanumeric Constants. Description An alphanumeric constant is defined in the same way as an application title. The contents are stored as an alphanumeric string of length equal to the number of characters entered in the string. Any trailing spaces are stripped away when you commit the constant. To enter the field values: Field Entry Explanation --------------------------------------------------------------------------------------- Constant Name record When referred to in an application, an alphanumeric constant is prefixed with C-. The full reference to this constant is C- record. Value Y The entire content of this constant. It is a flag value indicating that a record has been found. You will see how it's used later. To complete the alphanumeric constant: 1. Press the Commit Data function key. To complete the alphanumeric constants: (Continued) Creating Additional Alphanumeric Constants. To create the following alphanumeric constants: 1. Enter the information listed for a constant. 2. Press the Commit Data function key for that constant. 3. Continue this process for each alphanumeric constant listed below. a. no_record containing the value N. b. add containing the value Add. c. modify containing the value Modify. d. delete containing the value Delete. 4. Press the Previous Menu function key to return to the storage definition menu. Now you have completed the definition of the required storage items for the enhanced application.


MPE/iX 5.0 Documentation