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.


Messages In This Thread
use var in case declaration - by jps01 - 07-22-2018, 02:06 PM
RE: use var in case declaration - by Gintaras - 07-22-2018, 03:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)