For Programmers: Free Programming Magazines  


Home > Archive > Tcl > September 2006 > Re: After I overload "switch" command, how can I get back the original &quo









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: After I overload "switch" command, how can I get back the original &quo
pheobe

2006-09-26, 4:10 am


> Why don't you tell us what you are attempting to do as opposed to how you
> want to do it and we will be better able to give you advice.
>

what I really want to do is get all the cases, and related action in a
switch structure.

when my application reads a proc,

proc xxx {} {
a {puts a}
b {puts b}
c {puts c}


}

I want to get a list {a b c}
and the content list { {puts a} {puts b} {puts c} }

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com