Microsoft KB Archive/59723

= OS/2 DosFindFirst Code Example Correction; Missing Comma =

Article ID: 59723

Article Last Modified on 11/21/2006



This article was previously published under Q59723



SUMMARY
On Page 525 of the &quot;Microsoft Basic 7.0: Programmer's Guide&quot; for Microsoft Basic Professional Development System (PDS) Versions 7.00 and 7.10, the code example given is missing a comma to delimit the VARSEG and SADD parameters when invoking the function DosFindFirst%.

The incorrect syntax documented in the manual is as follows:   x = DosFindFirst%(VARSEG(flname$) SADD(flname$), dirh,_                    atr, buffer, bufflen, searchcount, reserved) The correct syntax of the CALL is as follows:   x = DosFindFirst%(VARSEG(flname$), SADD(flname$), dirh,_                    atr, buffer, bufflen, searchcount, reserved) A comma is needed between VARSEG(flname$) and SADD(flname$).

Additional query words: BasicCom

Keywords: KB59723

-

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

© Microsoft Corporation. All rights reserved.