delete vs empty variables

Dar Scott dsc at swcp.com
Fri Mar 12 16:00:50 EST 2004


On Friday, March 12, 2004, at 10:57 AM, hershrev wrote:

> what is the (practical)  difference between deleting a variable and 
> putting an empty into a var. ? except that this delete completely the 
> whole var and empty just putts an empty.

Unless you are doing something fancy, plan on "put empty into x".

>  when I close a sub stack the locals don't delete or empty , so how do 
> I delete or put empty in all var's with out needing to spell out all 
> of them ?

Unless a variable is global and it contains a large value, I don't 
bother.

Dar Scott




More information about the use-livecode mailing list