Re: Inheritance
Re: Inheritance
- Subject: Re: Inheritance
- From: "John W. Baxter" <email@hidden>
- Date: Fri, 23 Jan 2004 13:16:55 -0800
On 1/22/2004 15:36, "Axel Luttgens" <email@hidden> wrote:
>
[4] So, AppleScript itself appears somewhere in the inheritance path
>
too. This in fact isn't very surprising, as how could we otherwise be
>
able to invoke such things as "pi" or "tab"?
AppleScript is the parent of the top level script
The vast script
my parent
produces <<script AppleScript>>
set pi to 3
{pi, AppleScript's pi}
produces {3, 3.14159265359} (thanks, Matt N.)
Continuing...
set pi to 17
my parent's pi
produces 3.14159265359
--John
_______________________________________________
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.