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

Re: Help with apple script


  • Subject: Re: Help with apple script
  • From: kai <email@hidden>
  • Date: Thu, 3 Aug 2006 03:38:49 +0100


On 2 Aug 2006, at 19:09, Michelle Steiner wrote:

If you recompile the script, it will reset the number to 1; otherwise it will keep adding 1 to the number forever--or until it exceeds the maximum integer value, whichever comes first.

There comes a point at which increments of a certain value evidently no longer register (depending on the size of the total being incremented). For example:


tell 2 ^ 53 to it = it + 1
--> true

However, if you were to run the aforementioned script every second (without so much as a tea break), it would still take some 285 million years before that point was reached. (Quite a while to forgo a cuppa...)

2 ^ 53 / (365242199 * days)
--> 285.427017085496

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Help with apple script
      • From: Michelle Steiner <email@hidden>
References: 
 >Help with apple script (From: Support Enfocus Software <email@hidden>)
 >Re: Help with apple script (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Select text (numeric words) between brackets
  • Next by Date: Re: Help with apple script
  • Previous by thread: Re: Help with apple script
  • Next by thread: Re: Help with apple script
  • Index(es):
    • Date
    • Thread