Microsoft KB Archive/44035

= WAIT Statement Can Access All 65535 Ports, Not Just 0 to 255 =

Article ID: 44035

Article Last Modified on 11/21/2006



This article was previously published under Q44035



SUMMARY
The documentation for the WAIT statement incorrectly states that the input port number given as an argument to a WAIT statement can range from 0 to 255 only. WAIT can actually address all 65,536 machine ports (0 to 65535).

This information applies to the WAIT statement in the following manuals:


 * 1) Page 446 of &quot;Microsoft QuickBasic 4.0: Basic Language Reference&quot; for Versions 4.00 and 4.00b for MS-DOS
 * 2) Page 446 of &quot;Microsoft Basic Compiler 6.0: Basic Language Reference&quot; for Versions 6.00 and 6.00b for MS-DOS and MS OS/2
 * 3) Page 507 of &quot;Microsoft QuickBasic Compiler&quot; manual for Versions 2.0x and 3.00 for MS-DOS

This documentation error has been corrected in the &quot;Microsoft Basic 7.0: Language Reference&quot; manual and in the Microsoft Basic PDS 7.00 QBX.EXE Microsoft Advisor on-line Help system.

Additional query words: QuickBas BasicCom

Keywords: KB44035

-

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

© Microsoft Corporation. All rights reserved.