Hi,
Actually, this was just a very simplified example to make the point.
In practice, consider this:
{% set last_x = Null %}
{% for x in some_container %}
//render stuff using x here
{% set last_x = x %}
{% endfor %}
How do i get the last value that x had in the loop??
Are there any docs that document these scoping rules?
regards,
Lars
(hope i dont't need to wait another week for aproval of this post)
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.