• 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: alms for an ex-leper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alms for an ex-leper


  • Subject: Re: alms for an ex-leper
  • From: Emmanuel <email@hidden>
  • Date: Fri, 24 Jan 2003 11:48:27 +0100

At 3:17 PM -0500 23/01/03, Bill Metzinger wrote:
I have a droplet/applet that I don't understand it's different behavior.
------
on run
set A to {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
set KeyList to A
set KeyListRef to a reference to KeyList
display dialog (a reference to item 1 of KeyListRef)
end run

on open
set A to {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
set KeyList to A
set KeyListRef to a reference to KeyList
display dialog (a reference to item 1 of KeyListRef)
end open
--------

Not saying that I understand completely the weird behaviors that you observe, but if I were AppleScript I would not like that you ask "item 1" of something which is not a list. Why not dereferencing KeyListRef when you are requesting one of its items?

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >alms for an ex-leper (From: Bill Metzinger <email@hidden>)

  • Prev by Date: Simple question
  • Next by Date: Re: alms for an ex-leper
  • Previous by thread: Re: alms for an ex-leper
  • Next by thread: Re: alms for an ex-leper
  • Index(es):
    • Date
    • Thread