| Article ID: | T1084 |
| Date: | 10/3/02 (updated 4/10/03) |
| Product: | EPSON RC+ (all versions) |
| Subject: | Wait statement using In function does not work correctly |
Symptoms
The following code does not work correctly. When
the In function is used in a Wait statement, no wait occurs for the correct
value.
Wait In(0) = 1
Wait In($0) = 1
Causes
This is
caused by a bug in EPSON RC+.
Remedy
You can write a function to workaround this
problem.
Function WaitIn(port As Integer, value As Integer)
Do While
In(port) <> value
Wait .01
Loop
Fend
Status
This problem was fixed in version 3.6.0.
