HTBasic Help
×
Menu
Index

READ KEY

Returns one or more softkey macro definitions.
 
 READ KEY key-number, string-variable$ [(subscripts)] [sub-string]
READ KEY key-number, string-array$(*)
 
Usage:
READ KEY 2,Keytwo$
READ KEY First_key,Several_keys$(*)
Example: READ KEY.BAS
Description:
Softkey macros defined with EDIT, LOAD or SET KEY can be read with this statement. The key-number is a numeric expression which is rounded to an integer and should be in the range zero through twenty-three. If a simple string or array element is specified, then only one key is returned. If a string array is specified, then successive keys, starting with the key-number specified, are returned into the elements of the string array.
See Also: