Files
TempleOS-Rijn/LT/Doc/Char.TXZ
T
2018-09-08 21:45:20 +02:00

9 lines
691 B
Plaintext

$WW,1$A $FG,2$Char$FG$acter is a single byte holding an ASCII code for a letter, number or symbol. The $FG,2$LoseThos$FG$ term is an $FG,2$I1$FG$.
ASCII values range from 0 to 127. Values below 32 are control key's. So, an ASCII #3 is a CTRL-C. LoseThos uses a few nonstandard values. In LoseThos ASCII #5 is the cursor location and ASCII #31 is a SHIFT-SPACE.
A $FG,2$Key$FG$ is typically specified with a scan code. LoseThos scan codes contain the key value in the lowest $FG,2$U1$FG$, and flags in the upper bytes. See $LK,"Scan Code Flags","MN:SCF_CTRL"$ and $LK,"Scan Codes","MN:SC_INSERT"$.
A $FG,2$String$FG$ is a bunch of ASCII characters terminated with a zero.