BUG: When Compiled, LINE INPUT Fails/Hangs w/ 341 Iterations (49211)



The information in this article applies to:

  • Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0

This article was previously published under Q49211

SYMPTOMS

The LINE INPUT statement, in a compiled application, fails after 341 iterations. The system hangs for a moment, then displays random ASCII characters on the screen. On the newer Macintoshes (i.e., Macintosh II, Macintosh IIcx, Macintosh SE/30), the machine will just hang. In the QuickBasic interpreter environment, the problem doesn't occur.

Microsoft has confirmed this to be a bug in Microsoft QuickBasic Version 1.00 for the Macintosh . We are researching this problem and will post new information as it becomes available.

Code Example

1000  LINE INPUT "Part No?"; a$
      l% = l% + 1
      PRINT l%
      GOTO 1000
				

Modification Type:MinorLast Reviewed:1/9/2003
Keywords:kbbug KB49211