summaryrefslogtreecommitdiffstats
path: root/generic/tclIOSock.c
Commit message (Expand)AuthorAgeFilesLines
* various "const" additions, in line with TIP #27nijtmans2007-02-201-4/+4
* ANSIfydkf2005-11-071-10/+10
* Getting more systematic about styledkf2005-07-191-13/+20
* Patch 922727 committed. Implements three changes:dgp2004-04-061-2/+1
* * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases whenrmax2002-07-291-5/+2
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-2/+2
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken): Added commentshobbs2000-03-311-1/+4
* * generic/tclProc.c: corrected error reporting for default casehobbs1999-11-191-3/+3
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-11/+18
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
* Initial revisionrjohnson1998-03-261-0/+102
s="hl kwc">false and anything is true, or a string value such as \fBtrue\fR or \fByes\fR for true and \fBfalse\fR or \fBno\fR for false); if it is true then \fIbody1\fR is executed by passing it to the Tcl interpreter. Otherwise \fIexpr2\fR is evaluated as an expression and if it is true then \fBbody2\fR is executed, and so on. If none of the expressions evaluates to true then \fIbodyN\fR is executed. The \fBthen\fR and \fBelse\fR arguments are optional ``noise words'' to make the command easier to read. There may be any number of \fBelseif\fR clauses, including zero. \fIBodyN\fR may also be omitted as long as \fBelse\fR is omitted too. The return value from the command is the result of the body script that was executed, or an empty string if none of the expressions was non-zero and there was no \fIbodyN\fR. .SH "SEE ALSO" expr(n), for(n), foreach(n) .SH KEYWORDS boolean, conditional, else, false, if, true