Re: List as default value... another bug? Take a look, please...
- From: Donald G Porter <dgp@xxxxxxxx>
- Date: Thu, 14 Feb 2008 13:00:23 -0500
ZB wrote:
#v+
proc a_proc { {abc [list]} } {
puts [llength $abc]
}
tclsh8.5 [~]a_proc
1
That is correct.
If you do not agree, please review the rules for
brace-quoted words and what that means about
substitution within them.
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.
- References:
- Prev by Date: List as default value... another bug? Take a look, please...
- Next by Date: Re: List as default value... another bug? Take a look, please...
- Previous by thread: List as default value... another bug? Take a look, please...
- Next by thread: Re: List as default value... another bug? Take a look, please...
- Index(es):
Relevant Pages
|
Loading