Microsoft KB Archive/61605

= DOCERR: NODATA and pwords Parameters Switched in EXPORT Docs =

Article ID: 61605

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft LINK for MS-DOS 5.01.21
 * Microsoft LINK for MS-DOS 5.03
 * Microsoft LINK for MS-DOS 5.05
 * Microsoft LINK for MS-DOS 5.1

-



This article was previously published under Q61605



SUMMARY
The EXPORT statement used in module definition (.DEF) files is incorrectly documented in several places with the last two parameters reversed. The &quot;pwords&quot; parameter should be the last parameter, but it is listed second from the end. The &quot;NODATA&quot; parameter is listed last, but should be second from the end. The correct EXPORT statement syntax is as follows: entryname [=internalname] [@ord[RESIDENTNAME]] [NODATA] [pwords] Note that the &quot;pwords&quot; parameter is listed as &quot;iopl-parmwords&quot; in some of the documentation.



MORE INFORMATION
The documentation with the incorrect EXPORT statement syntax with reversed parameters is as follows:


 * The C versions 6.0 and 6.0a online help for LINK under the EXPORT statement syntax
 * On page 334 of &quot;The Microsoft CodeView and Utilities User's Guide&quot; for version 2.3 in Section 19.9, &quot;The EXPORTS Statement&quot; (shipped with FORTRAN 5.0 and BASIC PDS 7.0)
 * On page Update-52 of &quot;The Microsoft CodeView and Utilities Update&quot; for version 2.2 in Section 7.8, &quot;The EXPORTS Statement&quot; (shipped with C 5.1, MASM 5.1, and Pascal 4.0)

LINK version 5.13 (shipped with MASM 6.0) was corrected.

Additional query words: 5.01.21 5.03 5.05 5.10 docerr

Keywords: kb16bitonly KB61605

-

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

© Microsoft Corporation. All rights reserved.