• 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: "a reference to"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "a reference to"


  • Subject: Re: "a reference to"
  • From: Doug McNutt <email@hidden>
  • Date: Sun, 6 Jan 2008 19:57:22 -0700

At 18:08 -0700 1/6/08, Michelle Steiner wrote:
>Even after writing scripts for nearly a decade and a half, I still haven't been able to wrap my brain around "a reference to"
>This script fails:
>	set M_List_Group to people of group "Mailing Lists"
>This works:
>	set M_List_Group to a reference to people of group "Mailing Lists"

The real answer is *.

End of answer.

The * operator is a pointer in a well known language most of us are a bit familiar with.

The difficulty is that Applescript, in its infinite wisdom, considers pointers to be something that must be hidden from users. Well, at a minimum, a different syntax will  have to be invented just to confuse everyone who knows the slightest bit about passing an address of a data block to a subroutine..

--

--> In Christianity, man can have only one wife. This is known as monotony. <--
 _______________________________________________
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: "a reference to"
      • From: has <email@hidden>
    • Re: "a reference to"
      • From: Jon Pugh <email@hidden>
References: 
 >"a reference to" (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: "a reference to"
  • Next by Date: Re: "a reference to"
  • Previous by thread: Re: "a reference to"
  • Next by thread: Re: "a reference to"
  • Index(es):
    • Date
    • Thread