|
-
March 6th, 2001, 10:06 AM
#1
Reading 3 inputs
I have a program that reads and writes data to and from a parallel port. I want to read three inputs (say inputA, inputB, inputC). But I don’t know which one I will be reading first. I can read one input using the following code.
Read inputA
Do While not inputA
Read inputA
'there is more code here
Loop
How can I read 3 inputs randomly? I am thinking of using 3 Timer controls but I don’t know how. Here is an example how the function should read.
Read InputA, Read InputB, Read InputC,
Read InputB, Read InputB, Read InputA,
Read InputC, Read InputB, Read InputA,
Read InputA, Read InputA, Read InputA,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|