6. Expressions sometimes have to be wrapped in [expr {}], but not always:
if { $x == "a" || $x == "b" } {
return [expr {$x == "a"}]
}
7. Variable argument lists are handled with a special argument name: "args". It's not a keyword, just a variable treated differently from every other variable. That's just demented.
No comments:
Post a Comment