On Wed, 09 Aug 2000, peter be wrote:
> Yeah! It worked.
> I didn't use you dtml-in at all, and I guess you didn't understand my
> unwell-formated question.
>
> However, getitem(arg,1) worked!
>
> Can somebody tell me the difference between: _.getitem(arg) and
> _.getitem(arg,1) ?? And what does _.getitem(arg,n) do? Where n is
> 0,1,2,3,4,...

>From the Zope Quick Reference:

getitem(name,flag)
                  Lookup a name in the namespace. If the value is callable 
and the flag is true, then the result of calling the value is returned, 
otherwise the value is returned. flag defaults to false. 


Well worth keeping a copy on hand, IMHO. (o8

Have a better one,
        Curtis.


_______________________________________________
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 )

Reply via email to