Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use var in case declaration
#1
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.
#2
no


Forum Jump:


Users browsing this thread: 2 Guest(s)