Delete Variable command

Mark Smith mark at maseurope.net
Sun Mar 26 19:32:35 EST 2006


Of course! Doh!

:)

Mark

On 26 Mar 2006, at 21:27, Alex Tweedly wrote:

> Mark Smith wrote:
>
>> Bob, as you've found, delete variable will only work on a variable
>> that has been declared (local or global) or created  by assigning a
>> value to it inside a handler. In the latter case, it will be deleted
>> anyway when the handler exits.
>>
>> If you simply want to free up memory, you can "put empty into myVar",
>> which will replace whatever was in the variable with, well, empty.  
>> The
>> variable will still exist of course, and if it didn't before, it will
>> now, but it'll be taking up very little memory.
>>
>>
> Or you can do
>  put empty into myVar
>  delete variable myVar
>
> -- 
> Alex Tweedly       http://www.tweedly.net
>
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date:  
> 24/03/2006
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list