![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: Handling pathological lists
From: Juan C. Gil <jgil@gmv.es>
Date: Fri Oct 28 2005 - 17:14:30 CEST
> Boiling down a complex problem to a simple problem,
>
Do you want the length in characters of that first element?
=> string length [lindex $myList 0]
Do you want the length of that first element as a list?
=> llength [list [lindex $myList 0]]
Juan Carlos---
|