Microsoft KB Archive/44035

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:56, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


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 "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.


Additional query words: QuickBas BasicCom

Keywords: KB44035