Re: How to get all IDs of an object
Re: How to get all IDs of an object
- Subject: Re: How to get all IDs of an object
- From: Michelle Steiner <email@hidden>
- Date: Thu, 21 Mar 2013 19:13:50 -0700
On Mar 21, 2013, at 6:56 PM, Stan Cleveland < email@hidden> wrote: I noticed that my Result for get id of signatures (or every signature) is "{1, 2, 9, 10, 11}". Is this an array or just a list of strings? Hi Jeff,
AppleScript uses terminology unique to itself. Your result is indeed an array, but in AS would be referred to as a list.
However, the difference between an Applescript list and an array is that a list can contain disparate elements; they do not all have to be of the same type. The elements of an array, however are all of the same type.
Quite a number of years ago, a good friend of mine just couldn't get his head around that distinction; he was a very experienced C, Pascal, and assembly programmer, so he kept thinking of lists as arrays, and kept telling me that I couldn't have strings, numbers, and booleans in the same list.
-- Michelle -- Velveeta is to American cheese as American cheese is to cheese. |
_______________________________________________
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