velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin JN Breame <c.j.n.bre...@dur.ac.uk>
Subject Unset a variable
Date Thu, 12 Jun 2003 08:47:07 GMT
Hello,

I suspect this is quite a common question but I could not find a 
definative answer in the archives.

Is there a way of unsetting a previously set variable?

e.g.

#unset ($var)


Ive tried using null and also setting a variable to a known null value 
(#set ($var = $utils.getNull()) with no success.  Can anyone help me?

Cheers

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


Mime
View raw message