Lspace = 20 ' pixels
GET (0, 7)-(9, 9), CurON
() GET (0, 7)-(9, 9), CurOFF
()
Hpos = 0 'horizontal pixel position
Vpos = 10 'vertical pixel position
oldHpos = 0
msg(0) = "FORM FILLER"
'_PUTIMAGE
LL1:
' PRINT kh
HLine = HLine + 1 'line feed
maxHline = HLine
msg
(HLine
) = msg
(HLine
) + CHR$(kh
)
HLine
= HLine
+ 1:
GOTO LL1
'line feed
'**** 'BACKSPACE
IF HLine
> 0 THEN 'erases cursor before a line feed up
IF HLine
> 0 THEN HLine
= HLine
- 1
msg
(HLine
) = LEFT$(msg
(HLine
), LEN(msg
(HLine
)) - 1) _PRINTSTRING (Hpos
, Vpos
+ HLine
* Lspace
), msg
(HLine
) + " "
'**** end BACKSPACE
HLine = 0
HLine = 0
'PUT (Hpos + _PRINTWIDTH(msg(HLine)), Vpos + HLine * Lspace + _FONTHEIGHT - 2), CurOFF(), AND
Hpos = Hpos - 1
'PUT (Hpos + _PRINTWIDTH(msg(HLine)), Vpos + HLine * Lspace + _FONTHEIGHT - 2), CurON(), OR
Hpos = Hpos + 1 '- 1 because this is an array.
Hpos = Hpos - 1
HLine = HLine + 1
'****
HLine = 0
'PUT (Hpos + _PRINTWIDTH(msg(HLine)), Vpos + HLine * Lspace + _FONTHEIGHT - 2), CurOFF(), AND
Hpos = Hpos + 1
'PUT (Hpos + _PRINTWIDTH(msg(HLine)), Vpos + HLine * Lspace + _FONTHEIGHT - 2), CurON(), OR
Hpos = Hpos - 1 '- 1 because this is an array.
Hpos = Hpos + 1
HLine = HLine + 1
'****
' _SOURCE H
' _DEST 0
' _PUTIMAGE