How does one go about completely removing a local variable?
For example, if I have the following:
<CFSET test1 = 1>
The output here will be "1". Easy. Well, what if, somewhere in the logic, I need to completely remove this variable (not just reset it, but completely remove it). How do I go about doing this?
What seems silly to me is that in other instances, with other types of variables, I have used a StructDelete function. However, I have always used this function with variable types such as "application", "session", etc. Never before have I used "Local" as the variable type. Any ideas?
For example, if I have the following:
<CFSET test1 = 1>
The output here will be "1". Easy. Well, what if, somewhere in the logic, I need to completely remove this variable (not just reset it, but completely remove it). How do I go about doing this?
What seems silly to me is that in other instances, with other types of variables, I have used a StructDelete function. However, I have always used this function with variable types such as "application", "session", etc. Never before have I used "Local" as the variable type. Any ideas?