![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveHandling pathological lists
From: keithv <kvetter@gmail.com>
Date: Fri Oct 28 2005 - 16:49:52 CEST
Boiling down a complex problem to a simple problem,
llength [lindex $myList 0]
But this fails if you have a pathological list such as:
set myList [list \{ \}]
=> llength [lindex $myList]
Granted this is a contrived example, but is there
Keith
|