Do Not LINK Multiple Modules with /PACKCODE (37900)
This article was previously published under Q37900
SUMMARY
When developing large programs in QuickBasic that require multiple
modules, do not LINK with the /PACKCODE option. This can stop the
program with the following run-time error on a RESUME NEXT statement
(when ON ERROR GOTO is used):
No line number in module <name> at address: <address:offset>
Hit any key to return to system
Linking with /PACKCODE may not produce any run-time errors in a
single-module program.
This information applies to Microsoft QuickBasic Versions 4.00, 4.00b,
and 4.50, and the Microsoft Basic Compiler Versions 6.00 and 6.00b for
MS-DOS and MS OS/2.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB37900 |
|