• 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: global variable not being recognized by script object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: global variable not being recognized by script object


  • Subject: Re: global variable not being recognized by script object
  • From: "Serge Belleudy-d'Espinose" <email@hidden>
  • Date: Thu, 1 Mar 2001 14:15:20 +0100

At 20:03 -0800 28/02/01, Richard 23 wrote:

>Another method I'll use to avoid using "my" and "tell" concerns script
>libraries. If I load in a script object and specify its parent as the
>calling script I can get around having to direct calls at the child by
>telling the child to call a handler in the parent. Any calls to the
>child's handlers within the parent's handler can refer to the child's
>handlers without an explicit reference. This is not true of script
>properties but it is half of the battle!

Funny, I would have writen it the other way around:

>Another method I'll use to avoid using "my" and "tell" concerns script
>libraries. If I load in a script object and specify _it as the parent to the calling script_ I can get around having to direct calls at the _parent_ by
>telling the child to call a handler in the parent. Any calls to the
>_parent_'s handlers within the _child_'s handler can refer to the _parent_'s
>handlers without an explicit reference.

Or maybe I'm completely missing the point of the 'parent property' directive?

Serge

\\//\//\// Serge Belleudy-d'Espinose
// // // Institut Jacques Monod
//\//\//\\ WWW: http://www.ijm.jussieu.fr/


  • Prev by Date: Different processor speeds
  • Next by Date: Re: Where is the Searchable Applescript-users Archive?
  • Previous by thread: Re: global variable not being recognized by script object
  • Next by thread: Re: Records
  • Index(es):
    • Date
    • Thread