Re: Syntax, expressiveness and the beauty of Tcl
- From: "slebetman@xxxxxxxxx" <slebetman@xxxxxxxxx>
- Date: 31 Oct 2006 00:45:56 -0800
slebetman@xxxxxxxxx wrote:
Stephan Kuhagen wrote:
slebetman@xxxxxxxxx wrote:
I will have a closer look into that, looks cool to me. Does your example
imply that the variable must exist before it can be used that way? This
would be very C-like, more that I expected... ;-)
No. 'Normal' variables don't inherit that behavior (for that you can
use the [unknown] trick).
Forgot to link to the [unknown] trick. Richard Suchenwirth have written
a much more powerful and flexible system at http://wiki.tcl.tk/2776
which also works with 'ordinary' variables. It should do what you want
better than my hack.
.
- References:
- Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen
- Re: Syntax, expressiveness and the beauty of Tcl
- From: slebetman@xxxxxxxxx
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen
- Re: Syntax, expressiveness and the beauty of Tcl
- From: slebetman@xxxxxxxxx
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen
- Re: Syntax, expressiveness and the beauty of Tcl
- From: slebetman@xxxxxxxxx
- Syntax, expressiveness and the beauty of Tcl
- Prev by Date: Re: strings in TcL
- Next by Date: Re: write binary file with struct in tcl
- Previous by thread: Re: Syntax, expressiveness and the beauty of Tcl
- Next by thread: Re: Syntax, expressiveness and the beauty of Tcl
- Index(es):
Relevant Pages
|
|