Re: A question about syntax of the if statement.
- From: walton.paul@xxxxxxxxx
- Date: 4 Oct 2006 17:13:58 -0700
I'd like to hear how he happend upon Tcl/Tk.
Cameron Laird wrote:
In article <3djbv3-3i6.ln1@xxxxxxxxx>, Cameron Laird <claird@xxxxxxxxx> wrote:
In article <1159926862.163581.168610@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
George <grgoffe@xxxxxxxxx> wrote:
Howdy,.
I just build tcl/tk and am looking over a tutorial on the language. I
have a question about syntax and can't tell if "my" installation is
broken or there "really" is a bug.
.
.
By Tcl parsing (lexification), the latter looks like *two* commands,
if $something {doit}
and
else {doother}
rather than the single if-else you almost certainly intend.
George wants to express his thanks to all the people who wrote to
help him understand that Tcl's [if] is not like the if in other
languages, BUT he's too courteous to risk polluting Usenet-space
with low-content thankyous. How can we make him work it off? Read
through <URL: http://wiki.tcl.tk/660 > and make suggestions for its
improvement? Describe how he happened on Tcl/Tk? Promise to help
edit the newly-revised tutorials (is the reference in <URL:
http://wiki.tcl.tk/1304 >?).
.
- References:
- A question about syntax of the if statement.
- From: George
- Re: A question about syntax of the if statement.
- From: Cameron Laird
- Re: A question about syntax of the if statement.
- From: Cameron Laird
- A question about syntax of the if statement.
- Prev by Date: Re: tcl 8.4.12 spin loop
- Next by Date: Re: Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Oct 3)
- Previous by thread: Re: A question about syntax of the if statement.
- Next by thread: Re: A question about syntax of the if statement.
- Index(es):
Relevant Pages
|