HTBasic Help
×
Menu
Index

STORE KEY

Stores the softkey definitions in a file.
 
 STORE KEY file-specifier
 
Usage:
STORE KEY Path$&"MACROS.HTB"
STORE KEY "/usr/htb/keys"
Example: STORE KEY.BAS
Description:
A new file of type BDAT is created with the name specified. If the file already exists, an error is reported. Use RE-STORE KEY to update an existing file.
Using FORMAT OFF, the definition for any defined softkey is written to the file by outputting two items. The first item is an integer, specifying the key number. The second item is a string, giving the key definition. Use LOAD KEY to re-enter the softkey macros into the computer.
FORMAT MSB FIRST is used to write the file. This makes key definitions compatible with HP Workstations and can easily be used with HP BASIC.
See Also: