[stringtemplate-interest] Ok, I'm stumped
Kay Roepke
kroepke at classdump.org
Mon Aug 6 09:07:38 PDT 2007
Hi Jeff!
On Aug 6, 2007, at 5:35 PM, Barnes, Jeff wrote:
> Huh???
mh.
> Note: reversing the Boolean values gives the 'correct' output.
It only appears to do so...
> Huh???
Huh! :)
Using Boolean objects makes this work.
Don't ask my why, but adding $value$ to the $if$ clearly shows that
the boolean[] is passed
into ST wholesale and the first time evaluates to true (its pointer)
and the second time the
form.values is exhausted and evaluates to false.
I didn't expect it to do so, either. Ter, is this supposed to work?
cheers,
-k
--
Kay Röpke
http://classdump.org/
More information about the stringtemplate-interest
mailing list