Can you try <CFSET aVariable = "">  where you want to 'undefine' it and use
<CFIF IsDefined("aVariable") AND aVariable IS NOT " "> instead?

Bonnie E. Betts
[EMAIL PROTECTED]
www.interacttechs.com


----- Original Message -----
From: "Geoff Hoffman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 12:33 PM
Subject: Un-defining a Variable


> What I need/want is the ability to <cfset aVariable = VOID> so that
> subsequent isdefined("aVariable") returns FALSE.
>
> Another way of saying it would be, why isnt there
>
> DeleteVariable("var")
>
> like there is DeleteClientVariable("var")
>
> Or put yet another way, Why can't you
>
> cfset r=StructDelete(Variables, "var")
>
> As far as I can tell, once you use CFSET to create a variable, you
> can't undefine it.
>
> Is this true, or am I missing something?
>
> geoff hoffman
> [EMAIL PROTECTED]
>
>
>
>
>
>
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to