<dtml-try>
<dtml-if "_.int(variable) = variable">
Variable is integer
<dtml-else>
Variable is not integer
</dtml-if>
<dtml-except>
Variable is not number
</dtml-try>
----- Original Message -----
From: "Garry Saddington" <[EMAIL PROTECTED]>
Is there any way to do data type checking in dtml-if, for example to check
that a variable is an integer?
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )