SAS Component Language Dictionary |
Returns the name of the specified function key
key-name=FKEYNAME(key-number);
|
-
key-name
-
contains a function key name as listed
in the KEYS window. Function key names vary according to the device.
Type: Character
-
key-number
-
is the number that corresponds to
the order in which the keys are displayed in the KEYS window.
Type: Numeric
The key-number
argument identifies a key by its ordinal position in the KEYS window, not
by its label. For example, if the first key in the KEYS window is named PF1,
use a 1 rather than PF1 for the key-number argument
to identify that key. To retrieve the corresponding key definitions, use GETFKEY.
You can use this function only in entries that have
a DISPLAY window.
Return the name of function key 12:
keyname=fkeyname(12);
GETFKEY
NUMFKEYS
SETFKEY
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.