[Templates] minus operator next to number in template gives error

[prev] [thread] [next] [Date index for 2004/08/18]

From: Bart Simpson
Subject: [Templates] minus operator next to number in template gives error
Date: 06:50 on 18 Aug 2004
This gives "unexpected token" error

[%  myerr = var -1  # NO space between - and 1 %]  

Put space before 1 and works fine.

[% myerr = var - 1 # works %]

 Just passing this along in case this was not
intended.

i'm using tt2 


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] minus operator next to number in template gives error
Bart Simpson 06:50 on 18 Aug 2004

[Templates] TT3 status
Andy Wardley 14:10 on 20 Aug 2004

Re: [Templates] TT3 status
Mark Fowler 15:54 on 20 Aug 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52