This function evaluates to a Boolean value of True or False, depending on whether a program function key was pressed.
This function has the following format:
{$PF1 }
{$PF2 }
{ . } [(panel‑name)]
{ . }
{$PFn }
When there is more than one currently active panel, you can specify a panel name. The default panel is the latest panel transmitted.
Example
TRANSMIT PANELX
SELECT
WHEN $PF1
DO PROC‑PF1
WHEN $PF2
DO PROC‑PF2
WHEN $ENTER‑KEY
DO PROC‑ENTER
WHEN OTHER
IF $RECEIVED(ORDER‑NO)
DO PROC‑NORMAL‑ORDER
ELSE
MOVE REPROMPT‑MSG TO ORDER‑FORM.MSG
SET ATTRIBUTES HIGHLIGHT
ON ORDER‑FORM.MSG, ORDER‑NO
ENDIFENDSEL
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|