[Zope] Stupid question of the day

R. David Murray bitz@bitdance.com
Sat, 24 Jun 2000 19:01:13 -0400 (EDT)


On Sat, 24 Jun 2000, Dieter Maurer wrote:
> Andy McKay writes:
>  > How do I find the size of the results returned by the catalog?
> <dtml-let results=Catalog(....)>
> <dtml-var "_.len(results)">		<-- the results' length -->
> </dtml-let>

Or you can use the variable 'sequence-length'.  Remember that
if you want to use it in an expr you have to say _['sequence-length'].

--RDM