Re: Subject: clear set property on each run
Re: Subject: clear set property on each run
- Subject: Re: Subject: clear set property on each run
- From: Shane Stanley <email@hidden>
- Date: Wed, 25 Feb 2015 10:14:01 +1100
On 25 Feb 2015, at 9:52 am, David Crowe <email@hidden> wrote:
>
> Why use a property?
>
> Why not just "set theList to {}"?
>
> Then it will disappear at the end of the script.
There are two possible reasons. One is a matter of scope: properties are often used to give multiple handlers access to a variable. The other is security, in terms of people reading stored values: in that case, top-level variables are also normally stored after a script is run.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden