• 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: Script Object Order in Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Object Order in Script


  • Subject: Re: Script Object Order in Script
  • From: Helmut Fuchs <email@hidden>
  • Date: Tue, 24 Jul 2001 19:13:45 +0200

Arthur J Knapp <email@hidden> wrote:
Is this a bug, or a feature? :
Can't answer this question, but I can make the script run: if you add "my" to your reference of zzz it works fine:

script aaa
property whatever : "aaa"
end script

on CheckScriptProperties()
whatever of aaa --> "aaa"
whatever of my zzz --> "zzz"
end CheckScriptProperties

script zzz
property whatever : "zzz"
end script

CheckScriptProperties()

Seems to be one of those cases where AppleScript doesn't adhere to its own scoping rules as "documented" in the "AppleScript Language Guide".
--
Helmut

** still missing Newton Inc., Newt itself and NewtonScript very much **


References: 
 >Script Object Order in Script (From: Arthur J Knapp <email@hidden>)

  • Prev by Date: Empty Trash error?
  • Next by Date: overwriting existing document w/ Excel
  • Previous by thread: Re: Script Object Order in Script
  • Next by thread: Re: Script Object Order in Script
  • Index(es):
    • Date
    • Thread