Microsoft KB Archive/65597

= Correction to DIR$ Example In &quot;Basic 7.0: Language Reference&quot; =

Article ID: 65597

Article Last Modified on 11/21/2006



This article was previously published under Q65597



SUMMARY
The DIR$ function example on Page 107 of the &quot;Microsoft Basic 7.0: Language Reference&quot; manual contains an error. To correct the problem, the variable &quot;FileCount&quot; in the last line in the following code fragment should be changed to &quot;FileCount&&quot; to match the other references to it in the example: IF LEN(DIR$(filespec$)) = 0 THEN FileCount& = 0 ELSE FileCount = 1

The corrected code is as follows:

IF LEN(DIR$(filespec$)) = 0 THEN FileCount& = 0 ELSE FileCount& = 1 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# S900909-1

Keywords: KB65597

-

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

© Microsoft Corporation. All rights reserved.