• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get all IDs of an object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to get all IDs of an object
      • From: Shane Stanley <email@hidden>
References: 
 >Re: How to get all IDs of an object (From: Jeff Hanlon <email@hidden>)
 >Re: How to get all IDs of an object (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: How to get all IDs of an object
  • Next by Date: Re: How to get all IDs of an object
  • Previous by thread: Re: How to get all IDs of an object
  • Next by thread: Re: How to get all IDs of an object
  • Index(es):
    • Date
    • Thread