If statements vs case
Hershel Fisch
hershf at rgllc.us
Wed Feb 28 18:16:50 EST 2007
On 2/28/07 6:00 AM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
wrote:
> Sure, Hershel, nested switch control structures are possible, just
> like nested if-then-else control structures.
Thanks,
Hershel
>
> switch myVar
> case 1
> case 2
If this = to Case 1 or 2 and the "and" will work the same "Case 1 and 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" <m.schonewille at economy-x-
>> 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
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list