CALL INTERRUPT RegType in Manual Inconsistent with QB.BI File (43256)






This article was previously published under Q43256

SUMMARY

In the following manuals, the RegType (user-defined TYPE) documented with the CALL INTERRUPT statement is inconsistent with the TYPE in QB.BI, the $INCLUDE file:

  1. Page 90 of the "Microsoft QuickBasic 4.0: Basic Language Reference" for QuickBasic Versions 4.00 and 4.00b for MS-DOS and for Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and MS OS/2
  2. Page 74 of the "Microsoft QuickBasic 4.5: Basic Language Reference," which is available for separate purchase after you buy QuickBasic Version 4.50

MORE INFORMATION

To correct the inconsistency, remove the following two statements from the RegType in the manual:

DS AS INTEGER
ES AS INTEGER

The RegType shown in the manual is actually the RegTypeX in the QB.BI $INCLUDE file.

This documentation error has been corrected in Microsoft Basic PDS Version 7.00 for MS-DOS and MS OS/2. The TYPE descriptions in the "Microsoft Basic 7.0: Language Reference" for RegType and RegTypeX on Pages 172-173 agree with the TYPE declarations in the QBX.BI $INCLUDE file supplied with Basic PDS 7.00.

The RegType defined in the QB.BI file (used with $INCLUDE) does not contain the DS and ES registers. The DS and ES registers are only needed for the CALL INTERRUPTX statement, which uses RegTypeX.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB43256