Re: List oddity
Re: List oddity
- Subject: Re: List oddity
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 2 Aug 2010 23:58:10 -0400
I can't explain it, but I can reproduce it - seeing the same thing on
10.6.4 Intel Mac Mini.
But inserting an explicit "get" works at the individual item level:
set foo to {get item 1 of bar, "B"} as text
display dialog foo
On Mon, Aug 2, 2010 at 11:47 PM, email@hidden <email@hidden> wrote:
>
> On Aug 2, 2010, at 7:05pm, Stan Cleveland wrote:
>
>> Did you put parentheses around the "get"? I do get the error without them.
>>
>> Otherwise, I wonder why it works OMM? I'm running 10.6.4 on an Intel Macbook Pro. There are no scripting additions loaded and I've re-verified that the script works. (Two different dialog boxes pop up, both saying "Aug. 8 < 15".) Below is the code again, as it is OMM. Am I overlooking something?
>
>
> OK, this, I believe, reduces the issue to the simplest terms.
>
> I am running 10.6.4 on an Intel Macbook. But I have numerous scripting additions loaded.
>
> When I run this (in SE and SD) I get an empty dialog, and then a dialog with AB.
>
>
>
> set bar to {"A"}
> set foo to {item 1 of bar, "B"} as text
> display dialog foo
> set foo to {item 1 of bar, "B"}
> display dialog foo as text
>
> _______________________________________________
> 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
>
--
Mark J. Reed <email@hidden>
_______________________________________________
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