Q44035: WAIT Statement Can Access All 65535 Ports, Not Just 0 to 255
Article: Q44035
Product(s): See article
Version(s): 2.00 2.01 3.00 4.00 4.00b 4.50
Operating System(s): MS-DOS
Keyword(s): ENDUSER | B_BasicCom docerr | mspl13_basic
Last Modified: 15-DEC-1989
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 "Microsoft QuickBASIC 4.0: BASIC Language Reference"
for Versions 4.00 and 4.00b for MS-DOS
2. Page 446 of "Microsoft BASIC Compiler 6.0: BASIC Language
Reference" for Versions 6.00 and 6.00b for MS-DOS and MS OS/2
3. Page 507 of "Microsoft QuickBASIC Compiler" manual for Versions
2.0x and 3.00 for MS-DOS
This documentation error has been corrected in the "Microsoft BASIC
7.0: Language Reference" manual and in the Microsoft BASIC PDS 7.00
QBX.EXE Microsoft Advisor on-line Help system.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.