GET from COM1 or COM2 Fails to Get Correct Data -- Use INPUT$ (64108)
The information in this article applies to:
- 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 Q64108 SYMPTOMS
The GET statement fails to read the correct information from a
communications port (COM1, COM2) with Microsoft Basic Professional
Development System (PDS) version 7.00. Characters are removed from the
buffer, but the values read in are not the correct values sent across
the port.
WORKAROUND
To work around this problem, use the INPUT$ function to read the data
from the COM port.
STATUS
Microsoft has confirmed this to be a bug in Microsoft Basic PDS
versions 7.00 and 7.10 for MS-DOS and OS/2. We are researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
This problem does NOT occur in Microsoft QuickBasic version 4.50 or
earlier or in Microsoft Basic Compiler version 6.00b or earlier.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | KB64108 |
---|
|