logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: WHILE bug-o-feature: msg#00028

Subject: Re: WHILE bug-o-feature
Dave Cash wrote:


How about this?

[% avar = [0,1,2] %][% WHILE avar.size %][% avar.shift %][% END %]
Well, the for me the problem is more complicated: I have iterator which
returns numbers:
[% WHILE (var = iterator.next) %] ... [% END %]
If iterator.next returns 0 the loop fails :(


<Prev in Thread] Current Thread [Next in Thread>