[Zope] Newbie still having problems understanding namespaces

E. Seifert e.seifert@gmx.net
Thu, 9 Aug 2001 21:56:15 +0200


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.