Com
Jump to navigation
Jump to search
![]() |
![]() |
![]() |
![]() |
Description
- Special global variable used to set COM (serial port) buffer size prior to opening COM port. The default is 8192 byte (8kb).
Syntax
- Com = bufferSize
Hints
- To set the in and out communications buffers (each port has its own), set the variable Com to the desired size BEFORE opening the port.
- Changing the variable after opening a port does not affect the size of the buffers for that port while it is open.
- Note this variable is case-sensitive.
Example
'set the size of the communications buffers '(in and out) to 16K each Com = ( 16 * 1024 )
Useful Procedures
' Place a useful function or sub using this keyword here