SUB Not Defined; Change CALL MOUSE to MOUSES in MS Press Book (49711)
This article was previously published under Q49711
SUMMARY
As specified in the README.TXT file on Disk 2 of the companion disks
to the "Microsoft Mouse Programmer's Reference" (a Microsoft Press
release, 1989), the MOUSE routine in MOUSE.LIB has been changed to
MOUSES (and to MOUSEL, which is not mentioned in the README.TXT).
MOUSES and MOUSEL are the small- and large-model implementations of
mouse calls, respectively, and are contained in MOUSE.LIB, which comes
on the companion disks.
The change of MOUSE to MOUSES affects QuickBasic Versions 4.00, 4.00b,
and 4.50 examples in the "Microsoft Mouse Programmer's Reference" that
call MOUSE through building the QBMOUSE.QLB file (using MOUSE.LIB).
After creating the QBMOUSE.QLB and trying to execute QBMOU.BAS,
MOUSE.BAS, PENCIL.BAS, or QBTEST.BAS (from the disk or book), the
following QuickBasic error occurs on reference to MOUSE:
"Subprogram not defined"
This error occurs because there is no routine named MOUSE in
MOUSE.LIB. To work around this problem, change the CALL (or implied
CALL) and DECLARE statements from MOUSE to MOUSES or MOUSEL.
This information applies to Microsoft QuickBasic Versions 4.00, 4.00b,
and 4.50 and to Microsoft Basic Compiler 6.00, and 6.00b for MS-DOS, and
Microsoft Basic PDS 7.00 for MS-DOS.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB49711 |
|