Microsoft KB Archive/74675

= 4800 Baud Rate Omitted from Basic Manuals and Online Help =

Article ID: 74675

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 4.0, when used with:
 * Microsoft MS-DOS 6.22 Standard Edition
 * Microsoft QuickBASIC 4.0b, when used with:
 * Microsoft MS-DOS 6.22 Standard Edition
 * Microsoft QuickBasic 4.5 for MS-DOS, when used with:
 * Microsoft MS-DOS 6.22 Standard Edition
 * Microsoft BASIC Compiler 6.0
 * Microsoft BASIC Compiler 6.0b
 * Microsoft BASIC Professional Development System 7.0
 * Microsoft BASIC Professional Development System 7.1

-



This article was previously published under Q74675



SUMMARY
The baud rates of 4800 and 19200 are accepted in Microsoft QuickBasic versions 3.0, 4.0, 4.0b, and 4.5 for MS-DOS, in Microsoft Basic Compiler versions 6.0 and 6.0b for MS-DOS and MS OS/2, and in Microsoft Basic Professional Development System (PDS) versions 7.0 and 7.1 for MS-DOS and MS OS/2. The 4800 and 19200 baud rates are missing from the documentation and online Help for these products, but they are available and supported.



MORE INFORMATION
For the OPEN COM statement on page 239 of the &quot;Microsoft Basic 7.0: Language Reference&quot; for versions 7.0 and 7.1, the valid baud rates are listed as 75, 110, 150, 300, 600, 1200, 1800, 2400, and 9600. The same baud rates are listed in the online Help in QBX.EXE for Basic PDS versions 7.0 and 7.0, and in QB.EXE for QuickBasic version 4.5. Baud rates 4800 and 19200 are omitted, but they are legal values.

For Basic Compiler 6.0 and 6.0b and for QuickBasic 3.0, 4.0, and 4.0b, none of the legal baud rates are mentioned in the online Help or in the manuals, but the manuals do show examples for 1200, 2400, and 9600.

On page 254 of the &quot;QuickBasic 4.5: Language Reference&quot; (which is sold separately from the QuickBasic 4.5 product), baud rate 4800 is listed, but not 19200.

Note that with the 19200 baud rate, a direct wire connection is required. For more information about how to use serial communications in Basic, query on the following words:

COM1 and COM2 and solve

Examples
The following OPEN statements are both legal: OPEN &quot;COM1:4800,n,8,1,ds0,rs0&quot; FOR RANDOM AS #1 'A direct connection is required for this to work properly: OPEN &quot;COM1:19200,n,8,1,ds0,rs0&quot; FOR RANDOM AS #1

Additional query words: QuickBas 3.00 4.00 4.00b 4.50 6.00 6.00b 7.00 7.10

Keywords: KB74675

-

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

© Microsoft Corporation. All rights reserved.