"Redo from Start" for Correct INPUT in QB and Basic PDS (65194)
This article was previously published under Q65194
SYMPTOMS
Normally, the INPUT statement correctly gives a "Redo from start"
message if you mistakenly type a string as input when a number is
expected. However, the INPUT statement incorrectly gives the error
message "Redo from start" when all of the following conditions
coincide:
- The program is using the INPUT "prompt", <variable list> form of
the INPUT statement.
- The variable being INPUT is a single-precision element of a
$DYNAMIC array.
- The program does NOT contain error trapping, was NOT compiled
with BC /X, and does NOT have line numbers.
The INPUT statement will also incorrectly display a question mark (?)
prompt under the above conditions. The problem occurs in executable
(.EXE) programs compiled with BC.EXE, but does not occur in the QB.EXE
or QBX.EXE environment.
STATUS
Microsoft has confirmed this to be a bug in QuickBasic versions
4.00, 4.00b, and 4.50 (buglist4.00, buglist4.00b, buglist4.50); with
Microsoft Basic Compiler versions 6.00 and 6.00b; and with Microsoft
Basic Professional Development System (PDS) versions 7.00 and 7.10 for
MS-DOS and MS OS/2. We are researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB65194 |
|