Communications Device Buffer Size Can Be Set with /C: Switch (21787)
This article was previously published under Q21787
SUMMARY
The communications device receiving buffer size can be set with the
/C: compiler switch. For example, in Versions 1.x, you can set the COM
receiving buffer to 1000 bytes by compiling BASCOM/C:1000. This
information needs to be added to Pages 46 and 176 in the "Microsoft
QuickBasic Compiler" documentation for Versions 1.x. Note that for
Version 1.x, if you specify a buffer between 1 and 255 in QuickBasic,
you always get 255 bytes; in IBM BasicA Interpreter you get whatever
buffer size you specify.
In Versions 2.x and 3.00, the communications buffer must be set before
invoking the editor. This action is done in a similar manner, for
example, QB/C:xxxx, where xxxx represents the desired number of bytes.
The command line method of compilation is also similar, but the
command line ends with a semicolon (;), for example, QB program/C:xxxx;.
In Versions 4.00, 4.00b, and 4.50, you may set the transmission buffer
size as well as the receiving buffer size.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB21787 |
|