Re: if{} statements

From: Hannes Loeffler (Hannes.Loeffler_at_stfc.ac.uk)
Date: Tue Mar 05 2013 - 07:59:32 CST

On Tue, 5 Mar 2013 07:46:29 -0600
"Thomas C. Bishop" <bishop_at_latech.edu> wrote:

> A short explanation of "if-then-else" usage would be appreciated.
>
> (along w/ word "if-then-else" b/c searching for "if" in the manual
> does not help:-)

Have you tried something like "tcl if" with your favourite web search
engine? http://wiki.tcl.tk/ is a good start too. TCL's if statement
is pretty much the same as in other languages. If you wonder about why
your ifs tests for 1 and 0: 1 = true, 0 = false (effectively the same
as commenting out the code).

Hannes.

-- 
Scanned by iCritical.

This archive was generated by hypermail 2.1.6 : Tue Dec 31 2013 - 23:23:02 CST