Are those other have the same condition ?!?
If so, some array can be usefull..
Code:
For Loop = 0 to 3
SelectCase Loop
Case 0
TempTestVar = MyInput
Case 1
TempTestVar = Myinput1
Case 2
TempTestVar = Myinput2
Case 3
TempTestVar = Myinput3
end select
Select case TempTestVar
' cases stuff BUT
' Relay1[Loop] = 1 or 0
' Relay2[Loop] = 1 or 0
end select
Next
Once it's done do a loop for refresh each relay section... that's it
Last edited by mister_e; - 22nd February 2005 at 18:38.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks