Re: Crashing Script
Re: Crashing Script
- Subject: Re: Crashing Script
- From: Yvan KOENIG <email@hidden>
- Date: Fri, 12 Feb 2016 18:46:15 +0100
On Feb 12, 2016, at 10:54 AM, "Stockly, Ed" < email@hidden> wrote: …
Curiously, each record in the resulting list has the same time in the 1st item (newTime). The variable newTime is being shared among each record, as if it were ref counted. Why is that? If I change "set newTime to myTime" to "copy myTime to newTime", it works as I'd expect.
BTW, it doesn't crash for me on 10.10.2, even with the log command left in.
I was not really surprised to get the same date in every sublists. To get the different values just edit one instruction :
set timePair to {newTime as text, TimeAsText}
Yvan KOENIG running El Capitan 10.11.3 in French (VALLAURIS, France) vendredi 12 février 2016 18:45:49
|
_______________________________________________
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