PUTKEY
Purpose
To put one character to the keyboard buffer.
Syntax
PUTKEY(N%)
Remarks
"N%" is an integer variable, indicating the ASCII code of a character.
It provides the capability of simulating the keypad operation. For example, it
can be implemented with touch screen operation. The key value of a touched
item, which is designed as a key on the screen by SET_SCREENITEMS, can be
put to the keyboard buffer by using PUTKEY, and then be detected by using
INKEY$.
Example
PUTKEY(27)
SET_TRIGGER
Purpose
To set the TRIGGER key.
Syntax
SET_TRIGGER(state%)
Remarks
"state%" is an integer variable, indicating the state of the trigger key.
Value
0
1
This function is used as software trigger.
Example
SET_TRIGGER(1)
See Also
GET_TRIGGER
GET_TRIGGER
Purpose
To get the state of the TRIGGER key.
Syntax
A% = GET_TRIGGER
Remarks
"A%" is an integer variable, indicating the state of the trigger key.
Value
0
1
Example
A%=GET_TRIGGER
See Also
SET_TRIGGER
Meaning
Set the trigger key released
Set the trigger key pressed
Meaning
The trigger key released
The trigger key pressed
Chapter 4
BASIC Commands
8200, 8400, 8500, 8700
' put [ESC] key value to the buffer
8000, 8200, 8400, 8700
' Set the trigger key pressed
8000, 8200, 8400, 8700
113
Need help?
Do you have a question about the 8 Series and is the answer not in the manual?