Microsoft KB Archive/33048

= Using REM $IGNORE ON/OFF Metacommand in Macintosh QuickBASIC =

Article ID: 33048

Article Last Modified on 11/21/2006



This article was previously published under Q33048



SUMMARY
The $IGNORE ON metacommand, in conjunction with $IGNORE OFF, instructs the Macintosh QuickBASIC compiler to ignore the body of code between the two metacommands. This is useful when you have code that is specifically for the interpreter.

For example, the TRON statement is valid only in the interpreter and, if you compile a program that has a TRON statement, you will receive an &quot;UNPRINTABLE ERROR&quot; message from the compiler.

The following program will run in the interpreter in QuickBASIC, and will also compile and run without error: REM $IGNORE ON  TRON TROFF REM $IGNORE OFF PRINT &quot;hello&quot; END

Additional query words: MQuickB

Keywords: KB33048

-

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

© Microsoft Corporation. All rights reserved.