Microsoft KB Archive/34016

= &quot;Cones&quot; Demo Deliberately Has &quot;Invalid Function Call&quot; =

Article ID: 34016

Article Last Modified on 11/21/2006



This article was previously published under Q34016



SUMMARY
The &quot;Cones&quot; demo program that is distributed with QuickBASIC Version 1.00 gives the following error on the WINDOW(20) statement at run time:

Invalid Function Call

Microsoft intentionally placed this error into the &quot;Cones&quot; demo program for use by the &quot;Microsoft QuickBASIC 1.00 for Apple Macintosh: User's Guide&quot; as an exercise in debugging. The manual shows you how to find and correct programming problems in source code, using &quot;Cones&quot; as the example.

To correct the deliberate syntax error, change the WINDOW(20) statement to WINDOW(2).

Additional query words: MQuickB

Keywords: KB34016

-

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

© Microsoft Corporation. All rights reserved.