Switch, Case and wild-cards?
Joe Lewis Wilkins
pepetoo at cox.net
Thu Dec 27 21:15:27 EST 2012
Mark:
Richmond's just exaggerating as he is oft want to do! He can't help himself; it's in his stars.
Joe Wilkins
On Dec 27, 2012, at 6:11 PM, Mark Wieder wrote:
> Richmond-
>
> Thursday, December 27, 2012, 2:26:07 PM, you wrote:
>
>> So there I am up to my thighs in a switch statement with a good 500 odd
>> cases . . .
>
> I was going to answer, but Jacque beat me to it.
>
> But wait... you've got a switch statement with 500 cases? That in
> itself would make me run around babbling about purple things. I'd bet
> there's a simpler (and probably faster - "the text of fld..." has to
> be evaluated at runtime, not compiled) way to accomplish what you're
> trying to do. Regex comes to mind, but I don't know what problem
> you're trying to solve.
>
> --
> -Mark Wieder
> mwieder at ahsoftware.net
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list