• 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: "Save changes to script" when it terminates?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Save changes to script" when it terminates?


  • Subject: Re: "Save changes to script" when it terminates?
  • From: Bill Cheeseman <email@hidden>
  • Date: Mon, 15 Mar 2004 06:11:02 -0500

on 2004-03-14 5:08 PM, Richard 23 at email@hidden wrote:

> Here are two explicit declarations:
>
> global <variableName>
> local <variableName>
>
> In both cases, the variable is undefined until assigned
> a value. In neither case does the an assigned value
> persist across invocations: the variable is undefined
> each time the script is run.

I believe we all concluded quite a long time ago that a value assigned to a
global variable does persist across invocations. I was an unbeliever until a
script was posted that proved it. I haven't tried it in Mac OS X.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: "Save changes to script" when it terminates?
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Re: "Save changes to script" when it terminates? (From: Richard 23 <email@hidden>)

  • Prev by Date: Re: Suggestion: iTunes needs a refresh event
  • Next by Date: Re: floating point idle delays, 'with timeout' and the date class
  • Previous by thread: Re: "Save changes to script" when it terminates?
  • Next by thread: Re: "Save changes to script" when it terminates?
  • Index(es):
    • Date
    • Thread