Sharp OZ-707 Operation Manual - Page 85
KEY n ON/OFF
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
KEY (n) ON/OFF P D FORMAT: 1. KEY (key number) ON 2. KEY (key number) OFF Abbreviation: KE. (n) ON/OFF See Also: ON KEY GOSUB PURPOSE: Enables/disables interrupt requested from a transparent guide key. REMARKS: Format 1 enables an interrupt from the transparent guide key with the given key number. The execution of interrupt service is started with the line specified by the ON KEY GOSUB command. The functions printed on the key panel are ignored. A number from 1 through 20 is allowed as the key number. The key on the upper left corner of the key panel has key number 1, that on the upper right corner has ky nurber 4, and that on the lower right corner has key number 20. The 2ndF key (key number 5) cannot be used for key interrupt on the OZ-707. To use all transparent guide keys for key interrupt, see the OZ-794A manual. Format 2 disables the interrupt from the key with the given key number. The key returns to its original function, printed on the key panel. This command is for one key only. Use a separate command for each key. EXAMPLE: See the example for the ON KEY GOSUB command. KEY 0 p o FORMA T: KEY 0 {"c~aracte~ string"} , stnng vanable Abbreviation: KE. See Also: PURPOSE: Sets the given character string into the key buffer. REMARKS: KEY 0 command first clears the key buffer, then sets the given character string into it. Up to 32 bytes of string data can be stored in the key buffer. Characters that cannot be entered directly from the keys can be given with the CHR$ command. EXAMPLE: 10: KEY 0, "ABC" 20: INPUT A$ 30: KEY 0, "SHARP" + CHR$ &HOD + "12345" + CHR$ &HOD 40: INPUT B$ 50: INPUT C (The string on line 30 has a length of 12 bytes. CHR$ &HOD corresponds to the IENTER I key.) 158 159