• 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
a question about accessing list items through a reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a question about accessing list items through a reference


  • Subject: a question about accessing list items through a reference
  • From: Tetsuro KURITA <email@hidden>
  • Date: Fri, 25 May 2007 01:56:31 +0900

I found a strange behavior when accessing list items.

The following code works.

property a_list : {1, 2}
set a_ref to a reference to item 1 of a_list
set contents of a_ref to 3

But following code does not works with error of number -10006.

property a_list : {1, 2}
set a_ref to a reference to item 1 of my a_list
set contents of a_ref to 3

Is it a bug ?

=======================================================
 Tetsuro KURITA
  E-mail: email@hidden
  http://homepage.mac.com/tkurita/scriptfactory/
=======================================================

 _______________________________________________
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 question about accessing list items through a reference
      • From: Tetsuro KURITA <email@hidden>
  • Prev by Date: Re: how to automatically acknowledge a dialog
  • Next by Date: Re: how to automatically acknowledge a dialog
  • Previous by thread: Re: "do shell script" into directory with a dot
  • Next by thread: Re: a question about accessing list items through a reference
  • Index(es):
    • Date
    • Thread