Sure, Hershel, nested switch control structures are possible, just like nested if-then-else control structures.

switch myVar
  case 1
  case 2
    -- do something
  break
  case 3
    switch myVar2
    case "a"
      -- do something
    break
    case "b"
      -- do something else
    break
    default
      -- do something
    end switch
  default
    -- do something else
end switch


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz

Op 28-feb-2007, om 2:45 heeft Hershel Fisch het volgende geschreven:

On 2/27/07 4:53 PM, "Mark Schonewille" <[EMAIL PROTECTED] talk.com>
wrote:

Thanks, I saw it after I asked sorry about that.

But by the way besides speed I think there is an additional difference which
I think is the nested if's, vs. case I don’t think this is possible
Thanks, Hershel
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to