• 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: Idle Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Idle Help


  • Subject: Re: Idle Help
  • From: Jason Bourque <email@hidden>
  • Date: Thu, 07 Dec 2000 06:09:16 -0500

> globals do not remember their settings from the last run,
> properties do (unless you recompile them, then they start
> fresh on the first run after the recompile)
>
> ~Phi
> --
> Phi Sanders
>
> "Phee, Phi, Pho, Phum..."

That is not right try the following as an non stay open application

You will find on the first run the value is set and the second run the
dialog is displayed. The only difference is that a property value is set at
the time of compiling and a global value is set on run.


global x

try
display dialog x
on error
set x to "I now have a value."
end try


Jason Bourque


References: 
 >Re: Idle Help (From: Phi Sanders <email@hidden>)

  • Prev by Date: Re: emptying trash
  • Next by Date: Re: looking for scriptable graphics app
  • Previous by thread: Re: Idle Help
  • Next by thread: Re: Idle Help
  • Index(es):
    • Date
    • Thread