
554
Controlling the keyboard input
Statements
INPUT
Reads input from the keyboard into a variable.
KEY
Assigns a string or a control code to a function key;
also defines a function key as a backlight function
on/off key. This statement also defines a magic
key as a trigger switch, shift key, or software key-
board display key.
KEY ON
Enables keystroke trapping for a specified function
key.
KEY OFF
Disables keystroke trapping for a specified function
key.
LINE INPUT
Reads input from the keyboard into a string vari-
able.
ON KEY
...
GOSUB
Specifies an event-handling routine for keystroke
interrupt.
Functions
INKEY$
Returns a character read from the keyboard.
INPUT$
Returns a specified number of characters read
from the keyboard or from a device file.
Beeping
Statements
BEEP
Drives the beeper or vibrator.
Manipulating the system date, the current time, or the timers
Functions
DATE$
Returns the current system date or sets a specified
system date.
TIME$
Returns the current system time or wakeup time, or
sets a specified system time or wakeup time.
TIMEA
Returns the current value of timer A or sets timer A.
TIMEB
Returns the current value of timer B or sets timer B.
TIMEC
Returns the current value of timer C or sets timer C.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...