[stringtemplate-interest] Conditional statements

Terence Parr parrt at cs.usfca.edu
Fri May 5 15:05:24 PDT 2006


On May 5, 2006, at 6:01 AM, Galen Dunkleberger wrote:

> Is it possible to somehow have multiple arguments for a conditional
> statement other than using nested ifs. For instance something like...
>
> 			$if(a.x && b.z)$
> 				show something
> 			$else$
> 				show something else
> 			$endif$
>
> If this is not currently possible could I make a feature request?

I've thought about it as it's the same as a nested IF statement right?

Ter



More information about the stringtemplate-interest mailing list