7.71.2 IF_KEY Comments / Warnings

     An example of using this field follows:

    DISPLAY   USER_KEYS((15 'Purge')(16 'Commit')(17 'Save') (*ROLLUP 'Up')(*ROLLDOWN 'Down'))

    CASE      OF_FIELD(#IO$KEY)

           WHEN      VALUE_IS('= ''15''')

           WHEN      VALUE_IS('= ''16''')

           WHEN      VALUE_IS('= ''17''')

           WHEN      VALUE_IS('= ''UP''')

           WHEN      VALUE_IS('= ''DN''')

    ENDCASE

     Field #IO$KEY can be compared for normal function key use by using the function, key number (ie: 01 to 24). However, some other values may occur in #IO$KEY during an RDML programs execution. These include the following:   'RA' - The record advance / enter key was used    'UP' - The roll up key was used    'DN' - The roll down key was used   These values are referred to as AIDS values and are actually part of the i5/05 operating system.

For instance if a browse list is filled with 42 entries (assume 15 entries are displayed on each "page" of the display) and then displayed, the roll up key processing is handled automatically by the i5/05 operating system until the 3rd use. On the 3rd use the user has attempted to roll off the "end" of the browselist, thus control is returned to the RDML program. Roll down processing is handled similarly.