Chapter Contents

Previous

Next
FKEYNAME

FKEYNAME



Returns the name of the specified function key

Category: Keys


Syntax
Details
Example
See Also

Syntax

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


Details

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.


Example

Return the name of function key 12:

keyname=fkeyname(12);

See Also

GETFKEY

NUMFKEYS

SETFKEY


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.