> lvjin wrote:
>
> Hi,
> Can I determine if a $variable has been set in .vm files
>
> lvjin
Just thinking about this : if the real question is "How do I make a null
reference not make a mess in the output?" the answer is to use a 'quiet'
reference:
$!variable
if variable is not in the context, then $!variable will be silent in its
output, not doing the usual, which is rendering its literal.
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]