• 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: hash arrays and other mysteries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hash arrays and other mysteries


  • Subject: Re: hash arrays and other mysteries
  • From: Timothy Bates <email@hidden>
  • Date: Mon, 22 Oct 2001 10:53:17 +1000

On 21/10/01 11:34 PM, "Jason W. Bruce" <email@hidden> wrote:
> What's the difference between an import statement as implemented in other
> languages and AppleScript's load script command -- aside from the fact that
> load script is a scripting addition, albeit a standard additions scripting
> addition?
> Jason Bruce

Import (would) add new handlers to your script object. Load script add new
objects to your script object.

Basically if what you want is to either break your script into managable
chunks without going OO, or just to adorn all of your scripts with a larger
set of core abilities (like list and string handling that are needed
everywhere), then import would be cool.

Load script is fantastic for many other things,

Tim


  • Follow-Ups:
    • Re: hash arrays and other mysteries
      • From: Paul Skinner <email@hidden>
References: 
 >Re: hash arrays and other mysteries (From: "Jason W. Bruce" <email@hidden>)

  • Prev by Date: Re: Shortcut Keys?
  • Next by Date: Re: hash arrays and other mysteries
  • Previous by thread: Re: hash arrays and other mysteries
  • Next by thread: Re: hash arrays and other mysteries
  • Index(es):
    • Date
    • Thread