Re: Trouble with variable persistance
Re: Trouble with variable persistance
- Subject: Re: Trouble with variable persistance
- From: "Marc K. Myers" <email@hidden>
- Date: Sat, 02 Jun 2001 13:24:59 -0400
- Organization: [very little]
>
From: "Romulus Barabas" <email@hidden>
>
To: email@hidden, email@hidden
>
Subject: Re: Trouble with variable persistance
>
Date: Fri, 01 Jun 2001 22:32:59 -0400
>
>
Thanks Ian
>
>
Could you please give me the syntax for the reset command...
>
>
Romy
>
>
>If you want to use globals or properties and don't want persistance you can
>
>reset them when your script ends or using the "on quit" handler.
>
>
>
>
>
>Ian
To "reset" a variable, set it to a null string: "". This minimizes the
amount of space used to stored the script as well as nullifying the
contents of the variable.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[6/2/01 1:24:44 PM]