Basic doubt in tcl
- From: Saurabh Srivastava <mr.saurabh.srivastava@xxxxxxxxx>
- Date: Fri, 17 Jun 2011 14:27:19 -0700 (PDT)
Hi All
I have one confusion
set a ss
puts {$a} ;# it will print $a (no substitution)
by this i get feeling anything in braces does not substitute by its
value
then why does expr {$a * 3} work? or same thing in catch command.
Sorry if it is an stupid question.
If any tutorial available on command execution mechanism in tcl please
give me link.
.
- Follow-Ups:
- Re: Basic doubt in tcl
- From: Aric Bills
- Re: Basic doubt in tcl
- From: Bruce Stephens
- Re: Basic doubt in tcl
- Prev by Date: Basic doubt in tcl
- Next by Date: Re: Basic doubt in tcl
- Previous by thread: Basic doubt in tcl
- Next by thread: Re: Basic doubt in tcl
- Index(es):
Relevant Pages
|