OWBasic for Pocketviewer

Home INTRO Group SYSTEM Alphabetical Index

Waiting for Keyboard Input

KBWAIT!(KEYCHAR)

KBWAIT can be used to query a on-screen keyboard drawn by KBDRAW . If a key was touched, the function returns TRUE, if another screen area was touched, it returns FALSE. The character represented by the key is stored to KEYCHAR.
KEYCHAR can have some special values that represent non-character keys:


KEYCHARTaste
CHR&(0x0A)NEXT
CHR&(0x0D)RETURN
CHR&(0x7F)DEL


Home INTRO Group SYSTEM Alphabetical Index