Re: alms for an ex-leper
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.