Problem
Rows printed with CHR$(10) in between are connected, just as if they were typed with Ctrl+J (LF) in between.
In GW-BASIC, only typing directly with Ctrl+J connects (wraps) the lines, PRINT CHR$(10) does not.
Steps
`PRINT "yada"; CHR$(10); "yada"
2x arrow-up, ESC
What happens
Both lines of output get cleared
What was expected
Only the last line of output to get cleared, as in GW-BASIC
Note
By contrast, if we type yadaCtrl+JyadaESC, both lines do get cleared in both PC-BASIC and GW-BASIC.
PC-BASIC version: 2.0.4
Operating system version: all
PRINT CHR$(10)
should not connect/wrap linesProblem Rows printed with
CHR$(10)
in between are connected, just as if they were typed withCtrl+J
(LF) in between. In GW-BASIC, only typing directly withCtrl+J
connects (wraps) the lines,PRINT CHR$(10)
does not.Steps
ESC
What happens Both lines of output get cleared
What was expected Only the last line of output to get cleared, as in GW-BASIC
Note By contrast, if we type
y
a
d
a
Ctrl+J
y
a
d
a
ESC
, both lines do get cleared in both PC-BASIC and GW-BASIC.PC-BASIC version: 2.0.4 Operating system version: all