Re: Extracting class of items from list
Re: Extracting class of items from list
- Subject: Re: Extracting class of items from list
- From: kai <email@hidden>
- Date: Tue, 2 Aug 2005 18:46:16 +0100
On 2 Aug 2005, at 18:02, Andrew Oliver wrote:
However when you ask for:
every text item of myList
You get:
--> {"word", 123, {"a", "b"}, true}
I can't help thinking that's wrong.
My first expectations were the same as 'every text of myList', and
then
every character of the list (as if the list was coerced to a string
then
divided up using TIDs), but neither of those are the case.
What's the justification for returning the entire list when asking
for text
items of that list?
As I understand it, Andrew, it's not technically possible to get the
text items of a list - only from a string. What seems to happen here
is that, when asked to get the text items of a list, AppleScript
returns the list's items instead. Since I couldn't recall previous
behaviour in such circumstances, I just checked back to see what
happens in OS 9 - where the results are evidently the same.
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden