Re: [Zope] Stupid question of the day

2000-06-26 Thread Andy McKay

Thank you.

- Original Message - 
From: "Dieter Maurer" [EMAIL PROTECTED]
To: "Andy McKay" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, June 23, 2000 3:07 PM
Subject: Re: [Zope] Stupid question of the day


 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
 
 
 Dieter
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stupid question of the day

2000-06-24 Thread R. David Murray

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


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Stupid question of the day

2000-06-23 Thread Dieter Maurer

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


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Stupid question of the day

2000-06-22 Thread Andy McKay

How do I find the size of the results returned by the catalog?


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )