Dynamic Mapping
An application can also perform dynamic key mappings through another set_frs (set_forms for 4GL) statement using the key word map. This statement can create or change mappings for one or more function, control, or arrow keys at any point during the running of the application. For example, the following 4GL statement equates PF3 with FRS key 5, so that any key activation operation using FRS key 5 is activated when the end user presses PF3:
set_forms frs (map(frskey5) = 'pf3');
The new mappings take precedence over conflicting mappings at any level.
Last modified date: 04/03/2024