| |||||||||||
| |||||||||||
The Tcl if command
![]()
The if command in Tcl takes two parameters at the least, space separated. The first is a condition and the second is
what's to be performed if the first parameter evaluates to true; it's usually a block in curly braces. Additional
groups of three parameters (the word elseif, followed by another condition and a block to perform) may be added to your
heart's content, and a final two parameters (the word else, followed by a final block to perform) may also be given.
Show a large image More about conditional commands in Tcl Associated topic - Tcl/Tk - Conditionals and Loops |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||