Re: Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen <nospam@xxxxxxxxxx>
- Date: Tue, 31 Oct 2006 12:38:31 +0100
suchenwi wrote:
One interesting effect could be e.g
expr {sin($x) = sin($x)}
where as an lvalue, sin() would be an array, while on the right side
it's still the good old sine function...
Wow! This would be fun! You can show this around to non-Tcl'ers and get
additional 1000 points on the geek-scale...
But seriously: I do not think, that this would be such a bad effect. You can
write
set sin($x) [expr sin($x)]
today, which is also a little bit strange...
Stephan
.
- References:
- Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Christian Gollwitzer
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Eckhard Lehmann
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Donal K. Fellows
- Re: Syntax, expressiveness and the beauty of Tcl
- From: suchenwi
- Syntax, expressiveness and the beauty of Tcl
- Prev by Date: Re: Syntax, expressiveness and the beauty of Tcl
- Next by Date: Re: Syntax, expressiveness and the beauty of 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
|
|