Q60966: QB.EXE and QBX.EXE Erase Line If You Type STRIG ON
Article: Q60966
Product(s): See article
Version(s): 4.00 4.00b 4.50
Operating System(s): MS-DOS
Keyword(s): ENDUSER | B_BasicCom SR# S900410-80 | mspl13_basic
Last Modified: 30-MAY-1990
If the following code example is typed into the Microsoft QuickBASIC
(QB.EXE) or QuickBASIC extended (QBX.EXE) editors, the line "STRIG ON"
will disappear when you either move the cursor off that line, press
RETURN, or try to run the program.
This is not considered a problem with QB.EXE or QBX.EXE. Page 411 of
the "Microsoft QuickBASIC 4.0: BASIC Language Reference," Page 411 of
the "Microsoft BASIC Compiler 6.0: BASIC Language Reference," and Page
361 of the "Microsoft BASIC 7.0: Language Reference" 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 "Before Line"
STRIG ON 'This line will disappear if entered
'in CAPS or not
PRINT "After Line"
Output
------
Before Line
After Line
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.