07-22-2018, 02:06 PM
is it possible to use variables for the case parameters in a Sel statement?
sel i
case [1 2 3 4]
do something
replace with the case option with array elements, something like this
sel i
case [z[1] z[2] z[3] z[4]]
do something
the error I receive is 'expected integer constant' so I am assuming this is not possible, but if you could confirm that please.
thanks.
sel i
case [1 2 3 4]
do something
replace with the case option with array elements, something like this
sel i
case [z[1] z[2] z[3] z[4]]
do something
the error I receive is 'expected integer constant' so I am assuming this is not possible, but if you could confirm that please.
thanks.