Chapter Contents |
Previous |
Next |
GETFKEY |
Category: | Keys |
Syntax | |
Details | |
Examples | |
Example 1: Using GETFKEY When the Function Key Name Is Unknown | |
Example 2: Using GETFKEY When the Function Key Name Is Known | |
See Also |
Syntax |
key-command=GETFKEY(key-name); |
Type: Character
Type: Character
Details |
GETFKEY returns the command that is assigned to a function key for the current window. This is the same as the text displayed for the key in the KEYS window.
You can use this function only in entries that have a DISPLAY window.
Examples |
Return the command assigned to the first function key if the name of the function key is not known:
command=getfkey(fkeyname(1));
If the value of the first function key is F1, return the command that is assigned to the first function key:
command=getfkey('F1');
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.