Jaroslav Lukesh wrote:
<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>


Argggh! My eyes! They bleeeeeed!

Please dear god just use a python script or external method...

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
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 )

Reply via email to