RE: [Cheetahtemplate-discuss] including __builtins__ in the searchList by default...
Brought to you by:
rtyler,
tavis_rudd
From: Jeff J. <je...@je...> - 2001-08-10 13:34:59
|
I was just puzzled by this yesterday. Your newest code made us clean up our syntax and put "$" in front of all the places we hadn't (a good thing). But when I put $ in front of len($x), it complained. I thought that was strange. Now I see why :) I think $int should work. > -----Original Message----- > From: che...@li... > [mailto:che...@li...]On > Behalf Of > Tavis Rudd > Sent: Thursday, August 09, 2001 5:57 PM > To: che...@li... > Subject: [Cheetahtemplate-discuss] including __builtins__ in the > searchList by default... > > > Should we do this? so that > $int($aFloat) would work > and > #if $int($aFloat) == 5 > would be synonymous to > #if int($aFloat) == 5 > > _______________________________________________ > Cheetahtemplate-discuss mailing list > Che...@li... > http://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss > > |