[Zope-dev] Confused about manipulating nested lists in DTML
Tom Jenkins
TomJenkins@zentuit.com
Mon, 15 Mar 1999 08:42:11 -0500
> <!--#var "len(_['sequence-item'])"--> <!--#var sequence-item-->
[snip]
> 18 ['Washington', 'state']
[snip]
>
> *What* objects have lengths of 9 and 18? The outer list is length 33. The
> inner lists are all length 2 or 3. Obviously I screwed up and misused
> len(), but how?
>
I'm still learning what to do, but I do now what has length of 18:
_['sequence-item'] = 18 characters. So seems that its being calculated
before the resolution step.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tom Jenkins DevIS (http://www.devis.com)
Linux & Samba 2.0 : The best Windows file server
http://www.zdnet.com/sr/stories/issue/0,4537,2196106,00.html
"Do not be overcome by evil, but overcome evil with good." Romans 12:21