Microsoft KB Archive/58640

= &quot;7.0: Programmer's Guide&quot; Error Handling Example Correction =

Article ID: 58640

Article Last Modified on 10/20/2003

-

APPLIES TO


 * Microsoft BASIC Professional Development System 7.1
 * Microsoft BASIC Professional Development System 7.0

-



This article was previously published under Q58640



SUMMARY
The following are two corrections to the error handling example program on Page 291 of the &quot;Microsoft Basic 7.0: Programmer's Guide&quot; (for 7.00 and 7.10):


 * 1) In Module #1, the line &quot;ON ERROR GOTO Handler&quot; should be removed because there is no line label &quot;Handler&quot; in the first module.
 * 2) In Module #2, the line &quot;DEFINT A-Z&quot; should be added before the line &quot;Handler:&quot;. Since the default type for variables is SINGLE, variables A and B would be incorrectly typed as SINGLE instead of as INTEGER if the DEFINT A-Z line is not inserted.

This information applies to Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2.

Additional query words: BasicCom SR# S900207-56

Keywords: KB58640

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.