[thelist] CF: Deleting variables

Rob Keniger rob at bigbang.net.au
Thu Oct 5 23:50:54 CDT 2000


on 2000-10-06 1:55 PM, Oliver Lineham at oliver at lineham.co.nz wrote:

> Hi,
> 
> Simple CF question (I hope!).  How do I delete/unset a variable?
> 
> That is, if moo = "cow", how do I delete moo such that IsDefined("moo")
> will return false?

Try 

<cfset StructDelete(moo)>

-- 
 
Rob Keniger

big bang solutions

<mailto:rob at bigbang.net.au>
<http://www.bigbang.net.au>







More information about the thelist mailing list