Microsoft KB Archive/43785

= Error 35 &quot;Subprogram Not Defined&quot; Compiling CONES Program =

Article ID: 43785

Article Last Modified on 11/21/2006



This article was previously published under Q43785



SUMMARY
Page 41 of the &quot;Microsoft QuickBASIC for Apple Macintosh: User's Guide&quot; fails to state that the &quot;Include MBPCs & MBLCs&quot; option is also required for compiling the CONES program.

To compile the CONES sample program that comes with QuickBASIC Version 1.00 for the Macintosh, you must select the following four Options... under the Run menu:


 * 1) &quot;Include MBPCs & MBLCs&quot;
 * 2) &quot;Use Default Window&quot;
 * 3) &quot;Use Default Menu&quot;
 * 4) &quot;Include The Run Time Code&quot;

The CONES program performs several calls to Toolbox Library routines. These Toolbox Library routines are MBLC (Macintosh BASIC Library Code) routines. If the &quot;Include MBLCs&quot; option is not set, then the program gives the run-time error message &quot;Error 35&quot; in a dialog box and terminate the program.



MORE INFORMATION
Error 35 means &quot;Subprogram not defined.&quot; This is a correct and meaningful message, since it can't find the MBLC code for a called Toolbox Library routine.

When you choose the &quot;Include The Run Time Code&quot; option, the compiled application includes the QB10.bl, QB10.cl, or QB10.dl run-time module so that it will stand alone. The run-time module supports QuickBASIC language functions and floating-point routines required by compiled programs.

Additional query words: MQuickB

Keywords: KB43785

-

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

© Microsoft Corporation. All rights reserved.