Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? set value based on value

Feb
6
0
I assume there is a more elegant way to do the following. Please enlighten. :smile:
@iff %_DOWI = 1 set DDRV=T
@iff %_DOWI = 2 set DDRV=U
@iff %_DOWI = 3 set DDRV=V
@iff %_DOWI = 4 set DDRV=W
@iff %_DOWI = 5 set DDRV=X
@iff %_DOWI = 6 set DDRV=Y
@iff %_DOWI = 7 set DDRV=Z
 

Similar threads

Replies
4
Views
2K
Back
Top