Softkey macro definitions are stored into the specified file. If the file already exists, the old contents are discarded and the present key definitions are stored. If it does not exist, a new BDAT file is created.
UsingFORMAT OFF, the definition for each 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.