Microsoft KB Archive/81954

From BetaArchive Wiki
Knowledge Base


Documentation Error Causes "Unprintable Error" in QB for Mac

Article ID: 81954

Article Last Modified on 11/21/2006

This article was previously published under Q81954

SUMMARY

In the "Microsoft QuickBASIC for Apple Macintosh: Language Reference" version 1.0 manual, there are errors in the code example on page 84. When the code example is entered as shown, it results in an "Unprintable Error" message. The example demonstrates how to use the COMMON statement in QuickBasic for the Macintosh.

There are three errors in the code on page 84, in the following statements:

Lines 7 and 21:

   "REM $INCLUDE "chesscom.inc"
                

Line 15:

   "REM $INCLUDE "game.inc"
                

The syntax shown on page 378 is also incorrect.

MORE INFORMATION

To run the program on page 84 correctly, you must substitute the following statements for the metacommands shown:

   REM $INCLUDE: 'chesscom.inc'            '(for lines 7 and 21)

   REM $INCLUDE: 'gamecom.inc'             '(for line 15)
                

The syntax on page 378 should read:

   REM $INCLUDE: 'filename'
                

The syntax for include files is to use single quotation marks around the filename. The double quotation marks are syntax errors.


Additional query words: MQuickB 1.00

Keywords: KB81954