Article ID: 40038
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft QuickBasic 1.0
- Microsoft BASIC Compiler 6.0b
- Microsoft BASIC Interpreter 3.0 for Macintosh
This article was previously published under Q40038
SUMMARY
When the LIBRARY statement returns the error message "INPUT PAST END," then the file specified as the argument of LIBRARY does not contain any proper code routines. This error can occur due to any of the following reasons:
- The filename is not that of a valid library, and the resource fork of the file contains no library routines.
- The resource fork of the library file has been corrupted. If it is corrupted, you must copy or create a new library file from a backup or from the BASIC release disk.
This information applies to Microsoft QuickBASIC Version 1.00, BASIC Compiler Version 1.00, and BASIC Interpreter Version 3.00 for the Apple Macintosh.
MORE INFORMATION
You can use Apple's ResEdit program, or BASIC's Statement Mover program to move valid LIBRARY routines into the resource fork of a file.
LIBRARY routines are stored as MBLC resources in the resource fork of Microsoft QuickBASIC (b) or (d).
In the earlier BASIC Compiler Version 1.00 and Interpreter Version 3.00, LIBRARY routines are provided as CODE resources in the ToolLib file on the BASIC ToolBox disk (disk 2 of 2).
The following is a code example of LIBRARY statement syntax:
LIBRARY "ShortLib" LIBRARY "ToolLib"
Additional query words: BasicCom MQuickB
Keywords: KB40038