- This topic has 5 replies, 4 voices, and was last updated 14 years, 2 months ago by .
-
Topic
-
I’m looking for TCL code that supports multiple conditions within an IF statement. Something similar to a simple C IF statement, for example. Like:
if ( (a == b) && (x == y || x != a) ) {
do something;
}
I can’t imagine this is a shortcoming of TCL, but I haven’t seen an example of this syntax thus far. Multiple braces or brackets haven’t worked either.
Thanks in advance.
Viewing 4 reply threads
Viewing 4 reply threads
- The forum ‘Tcl Library’ is closed to new topics and replies.