Re: List oddity
Re: List oddity
> I can't explain it, but I can reproduce it - seeing the same thing on
> 10.6.4 Intel Mac Mini.
I can't explain it either. Here's a bit more to ponder. Both Stan and Mark's 'get' suggestions work.
I thought the need for a 'get' involved an application.
ES
set bar to {"A", "C"}
set foo to {item 1 of bar, "B"} as text
display dialog foo
-->""
set foo to get ({item 1 of bar, "B"}) as text
display dialog foo
-->""
set foo to (get {item 1 of bar, "B"}) as text
display dialog foo
-->"AB"
set foo to {1, item 1 of bar, "B"} as text
display dialog foo
-->"1"
set foo to {1, get item 1 of bar, "B"} as text
display dialog foo
-->"1AB"
set foo to {1, get item 1 of bar, item 2 of bar} as text
display dialog foo
-->"1A"
set foo to {item 1 of bar, "B"}
-->AB
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