Re: hash arrays and other mysteries
Re: hash arrays and other mysteries
- Subject: Re: hash arrays and other mysteries
- From: Paul Skinner <email@hidden>
- Date: Mon, 22 Oct 2001 17:10:20 -0400
on 10/22/01 7:26 AM, Jason W. Bruce wrote:
SNIP
>
In any event, I learned from Scott Norton awhile ago that you can use
>
load script to load only specific handlers from another script as opposed to
>
the entire script.
>
I didn't know that. Cool.
I seem to have missed some post. I don't know who said the following...
>
> Almost. You can't say
>
>
>
> Set parent to string.lib
>
> Set parent to array.lib
>
> Set parent to graph.lib
>
> Set parent to UI.lib
>
> Set parent to game.lib
>
>
>
> We humans have 2 parents, but scripts have only 1 and noone has 5
>
>
AppleScript doesn't have multiple inheritence, true. But neither does
>
Smalltalk or Java. From an object-oriented design perspective, multiple
>
inheritence is questionable.
>
Hmmm. I'm trying to think of why it's questionable. Complexity?
Anyway, AppleScript does have it. No, a script can't have two parents,
but it can have a family tree.
If the script which is a script's parent has a parent then the child
script ( or grandchild script ) inherits from both parent scripts.
SNIP
--
Paul Skinner