velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Kinnvall" <>
Subject Re: problem/bug parsing #if #else #end
Date Sun, 24 Mar 2002 08:17:38 GMT
From: "Geir Magnusson Jr." <>

> On 3/17/02 11:25 PM, "Jim Rudnicki" <> wrote:


> > #if($n<5)small#{else}if#end
> > 
> > Which will produce "small" or "if".


> My first reaction was 'yick', but I just got off a red-eye so I am a bit
> zoned. :)
> I would like to avoid this if we could, but it is consistent...

Yes. Having the option to be *very* explicit when dealing
with computers in any matter tends to be a goog thing, at
least in my experience.

The proposed syntax surely does not look very nice, but it
is definitely a consistent solution for explicitness (sp?).

For what it's worth: I am +1 on something like this.

Best regards,


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message