4800 Baud Rate Omitted from Basic Manuals and Online Help (74675)



The information in this article applies to:

  • Microsoft QuickBASIC 4.0, when used with:
    • the operating system: MS-DOS
  • Microsoft QuickBASIC 4.0b, when used with:
    • the operating system: MS-DOS
  • Microsoft QuickBASIC 4.5, when used with:
    • the operating system: MS-DOS
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 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 "Microsoft Basic 7.0: Language Reference" 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 "QuickBasic 4.5: Language Reference" (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 "COM1:4800,n,8,1,ds0,rs0" FOR RANDOM AS #1
				
   'A direct connection is required for this to work properly:
   OPEN "COM1:19200,n,8,1,ds0,rs0" FOR RANDOM AS #1
				

Modification Type:MinorLast Reviewed:1/9/2003
Keywords:KB74675