Compiled INPUT Doesn't Read Text Previously PRINTed on Screen (42948)
This article was previously published under Q42948
SUMMARY
Unlike in Microsoft GW-Basic, the INPUT or LINE INPUT statement in
compiled Basic will not read text that was previously displayed on the
screen. (Instead, you must use the SCREEN function to read existing
text on the screen.)
In compiled Basic, if you LOCATE to an area on the screen, print text,
LOCATE there again, and do an INPUT or LINE INPUT, then moving the
direction keys will erase what was previously on the screen. GW-Basic
does not do this erase. In addition, the INPUT statement in GW-Basic
will read the string that was previously displayed at that position.
This is a fundamental design difference between Microsoft GW-Basic
Interpreter (Versions 3.20, 3.22, and 3.23) and compiled Basic.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB42948 |
|