Re: Is this a major bug or not?
Re: Is this a major bug or not?
- Subject: Re: Is this a major bug or not?
- From: Rainer Standke <email@hidden>
- Date: Sun, 31 May 2009 18:39:53 -0700
How about
set foo to {x:"text", y:5, |class|:"temp", z:pi}
class of foo
Enclose the variable name class with pipes? In compiled form class was
recognized as an AppleScript keyword, so it wasn't proper to use a
reserved word as variable name with no pipes. At least that's how I'd
explain that to myself.
Rainer
On May 31, 2009, at 15:20 , Michelle Steiner wrote:
On May 31, 2009, at 11:12 AM, Deivy Marck Petrescu wrote:
I understand Michelle,
However,
set foo to {x:"text", y:5, class:"temp", z:pi}
Now I ask you; what is the class of "foo"?
It's a record, but you can't get that from Applescript because
you're asking it for the value of the item labeled "class".
There's no way that I know of for it to give you both. Nor can it
read your mind to find out which you want.
-- Michelle
--
I've noticed lately that the paranoid fear of computers becoming
intelligent and taking over the world has almost entirely
disappeared from the common culture. Near as I can tell, this
coincides with the release of MS-DOS.
-- Larry DeLuca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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