[fossil-users] switch statement

2011-02-17 Thread Ron Wilson
Does TH1 implement switch or am I using it wrong? The TCL (yes, I know TH1 is not TCL, only derived from it) docs at http://www.tcl.tk/man/tcl8.5/TclCmd/switch.htm say the switch returns the result of evaluating the body associated with the matching pattern, so that is what I tried: set

Re: [fossil-users] switch statement

2011-02-17 Thread Andreas Kupries
On 2/17/2011 4:02 PM, Ron Wilson wrote: Does TH1 implement switch AFAIK no. Grep the fossil sources for '** TH' (pattern '\*\* TH'). -- Andreas Kupries Senior Tcl Developer ActiveState, The Dynamic Language Experts P: 778.786.1122 F: 778.786.1133 andre...@activestate.com

Re: [fossil-users] switch statement

2011-02-17 Thread Ron Wilson
Thanks. On Thu, Feb 17, 2011 at 7:12 PM, Andreas Kupries andre...@activestate.com wrote: On 2/17/2011 4:02 PM, Ron Wilson wrote: Does TH1 implement switch AFAIK no. Grep the fossil sources for '** TH' (pattern '\*\* TH'). ___ fossil-users mailing

Re: [fossil-users] switch statement

2011-02-17 Thread Higham, Paul
@lists.fossil-scm.org Subject: [fossil-users] switch statement Does TH1 implement switch or am I using it wrong? The TCL (yes, I know TH1 is not TCL, only derived from it) docs at http://www.tcl.tk/man/tcl8.5/TclCmd/switch.htm say the switch returns the result of evaluating the body associated

Re: [fossil-users] switch statement

2011-02-17 Thread Ron Wilson
On Thu, Feb 17, 2011 at 7:18 PM, Higham, Paul phig...@sjm.com wrote: Did you try [switch $status { . . . ? Same error: no such command: switch ___ fossil-users mailing list fossil-users@lists.fossil-scm.org