case-range

 




 
>is it possible to put a range of values inside a case
>i'm aware that it is possible to do
>
>	1,2,3,4,5: blah
>
>...but can i do
>
>	1..5: blah
>

Hi, 

one way to do this is:

on testCase param
  case TRUE of
      (param >1 and param < 4):put "yep"
  end case
end


testcase (3)
-- "yep"


Home shock + cgi Bits 'n pieces Director Lingo Shocklets Contact










pageID=l_case-range