velocity-user mailing list archives

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

> On 3/17/02 11:25 PM, "Jim Rudnicki" <jdr5list@pacbell.net> wrote:

[snip]

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

[snip]

> 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,

David.


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message