OK, so I've tried Select, When, and If and they all work fine. Thanks.
How can I put multiple conditions in a when?
I have four switches and LEDs. I'd like to check the condition of each switch and turn on it's respective LED.
I tried:
When
sw1 = 1 : LED1 = 1
sw2 = 1 : LED2 = 1
and so on.
I could use multiple IF or WHEN statements but is there a way to do this in one When or Select block?
I've tried the manuals and assorted books but they only have one condition in the statement as an example.
Thanks,
Mike Slaney
Bookmarks