Thanks for your quick response. At last I think I am getting the hang of this. One other related question is: What is the differnce between: ZopeTime(), and _.DateTime()? TIA Dave. On Thursday 09 August 2001 14:56, E. Seifert wrote:
Hi David,
try <dtml-var expr="_.abs(-23)">
David Lambert wrote:
I'm sure this is a case of RTFM, but I think I may be reading the wrong
FM!
Looking at the DTML reference section n the Zope Book (PDF version) on
page
228, I see a set of DTML functions which I had assumed I could call, for example:
<dtml-var expr="abs(-23)"> which I would have expected to evaluate to 23.
Instead I get the error:
Error Type: NameError Error Value: global name 'abs' is not defined.
_______________________________________________ Zope maillist - Zope@zope.org 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 )