Woops I forgot I could check that way. Thanks a lot.

Le jeu 26/08/2004 � 14:36, Darren Chamberlain a �crit :
> * Lo�c Paillotin <loic.paillotin at qualimucho.com> [2004/08/26 14:34]:
> > I read that both syntax were correct in the Badger Book(which documents
> > 2.10), so i just wanted to check if my problem is only due to the fact
> > that 2.06 doesn't support FOREACH x IN y. 
> 
> The IN syntax was added in 2.09c.  From the Changes file:
> 
>   #------------------------------------------------------------------------
>   # Version 2.09c - 29th April 2003                 ## DEVELOPER RELEASE ##
>   #------------------------------------------------------------------------
> 
>   [...]
> 
>   * modified grammar to allow 'IN' as an alternate for '=' in FOREACH 
>     directives, thus allowing [% FOREACH item IN [ foo, bar, baz ] %]
>     http://template-toolkit.org/pipermail/templates/2003-April/004519.html
> 
> (darren)
-- 
Lo�c Paillotin 
D�veloppeur 
Qualimucho M�dia, 
10 rue de la Fontaine au Roi
75011 Paris 
Port: 06.15.54.40.05



_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to