Documentation Error Causes "Unprintable Error" in QB for Mac (81954)






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.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB81954