[Zope] Need help with a syntax error

Dieter Maurer dieter@handshake.de
Sat, 4 Aug 2001 02:46:46 +0200 (CEST)


Steven Grimes writes:
 > I have the following line of code inside a <dtml-in>:
 > 
 > <dtml-call
 > "REQUEST.set('tqry',Query.PoRpt.Aug01POquery(pormth=tpormth,pmth=07,pyear=20
 > 01,sellid=_['sequence-item']))">
 > 
 > If I change the pmth variable to pmth=08 and try to save I get a syntax
 > error. I only changed the 7 to an 8.
Numbers starting with '0' are octal numbers. '8' is not an octal
digit --> syntax error.

Are you sure, that"pmth" should be a number? If so, omit the '0'
it is redundant. Otherwise, it probably should be a string.


Dieter