"Cones" Demo Deliberately Has "Invalid Function Call" (34016)






This article was previously published under Q34016

SUMMARY

The "Cones" 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 "Cones" demo program for use by the "Microsoft QuickBASIC 1.00 for Apple Macintosh: User's Guide" as an exercise in debugging. The manual shows you how to find and correct programming problems in source code, using "Cones" as the example.

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

Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: KB34016