Error 35 "Subprogram Not Defined" Compiling CONES Program (43785)
This article was previously published under Q43785
SUMMARY
Page 41 of the "Microsoft QuickBASIC for Apple Macintosh: User's
Guide" fails to state that the "Include MBPCs & MBLCs" 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:
- "Include MBPCs & MBLCs"
- "Use Default Window"
- "Use Default Menu"
- "Include The Run Time Code"
The CONES program performs several calls to Toolbox Library routines.
These Toolbox Library routines are MBLC (Macintosh BASIC Library Code)
routines. If the "Include MBLCs" option is not set, then the program
gives the run-time error message "Error 35" in a dialog box and
terminate the program.
MORE INFORMATION
Error 35 means "Subprogram not defined." 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 "Include The Run Time Code" 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.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB43785 |
|