• 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: Month arithmetic addendum
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Month arithmetic addendum


  • Subject: Re: Month arithmetic addendum
  • From: Martin Orpen <email@hidden>
  • Date: Tue, 28 Sep 2004 23:14:51 +0100

on 28/9/04 10:13 pm, Michelle Steiner at email@hidden wrote:

> set the_months to {January, February, March, April, May, June, July, ¬
> August, September, October, November, December}
> display dialog "Enter the number of months to add." default answer ""
> set n to (the text returned of the result) as integer
> if (October as number) + n is greater than 12 then set n to n + 1
> -- add error checking to ensure only integers are entered
> item (((October as number) + n) mod 13) of the_months

[snip]

Damn, I just pasted a rubbish script to the server but it was over the 12K
limit so I'll have to wait for the *official word* from the moderator :-(

You don't get a lot of *styled text* in 12K do you?

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com


 _______________________________________________
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

References: 
 >Month arithmetic addendum (From: Michelle Steiner <email@hidden>)

  • Prev by Date: igPay atinLay, second pass
  • Next by Date: Re: AppleScript causing FMP XML output error?
  • Previous by thread: Month arithmetic addendum
  • Next by thread: igPay atinLay, second pass
  • Index(es):
    • Date
    • Thread