INPUT or LINE INPUT Erases Existing Line When Accepting Input (43025)
The information in this article applies to:
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0
This article was previously published under Q43025 SUMMARY
When accepting input with the INPUT or LINE INPUT statement on top of
existing text (or pixels) on the screen, the rest of the line will be
blanked out when you enter the first character. This behavior is a
consequence of the feature that lets you use standard mouse editing on
the entire input line.
To avoid the erasure, you can accept input using the INKEY$ function
(see example below).
This information applies to Microsoft QuickBASIC Version 1.00,
Microsoft BASIC Interpreter Versions 2.00, 2.10, and 3.00, and
Microsoft BASIC Compiler Version 1.00 for the Apple Macintosh.
Another alternative is to use the EDIT FIELD statement for input that
is delimited by a box. For more information, query on the following
words:
DIALOG and EDIT and FIELD and QuickBASIC
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB43025 |
---|
|