Microsoft KB Archive/60966

= QB.EXE and QBX.EXE Erase Line If You Type STRIG ON =

Article ID: 60966

Article Last Modified on 11/21/2006



This article was previously published under Q60966



SUMMARY
If the following code example is typed into the Microsoft QuickBasic (QB.EXE) or QuickBasic extended (QBX.EXE) editors, the line &quot;STRIG ON&quot; will disappear when you either move the cursor off that line, press RETURN, or try to run the program.



MORE INFORMATION
This is not considered a problem with QB.EXE or QBX.EXE. Page 411 of the &quot;Microsoft QuickBasic 4.0: Basic Language Reference,&quot; Page 411 of the &quot;Microsoft Basic Compiler 6.0: Basic Language Reference,&quot; and Page 361 of the &quot;Microsoft Basic 7.0: Language Reference&quot; state that the STRIG ON and STRIG OFF statements are ignored. These statements are provided for compatibility with earlier versions of Basic.

Code Example
PRINT &quot;Before Line&quot; STRIG ON                'This line will disappear if entered 'in CAPS or not PRINT &quot;After Line&quot;

Output
  Before Line After Line

Additional query words: QuickBas BasicCom

Keywords: KB60966

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.