• 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: New date bug [Re: Correcting AGE_INFO]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New date bug [Re: Correcting AGE_INFO]


  • Subject: Re: New date bug [Re: Correcting AGE_INFO]
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 5 Feb 2010 07:08:29 -0700

On Feb 5, 2010, at 6:58 AM, Mark J. Reed wrote:

>> DM(2) =DM(2) -(YEAR/4 =INT(YEAR/4)) +(YEAR/100= INT(YEAR/100)) -(YEAR/400=
>> INT(YEAR/400))
>
> Ah, good old MS BASIC, where true is -1, which is why the signs above
> look backwards.  Commodore BASIC was by Microsoft, so I'm very
> familiar with that particular oddity.

Curiously, although AppleSoft BASIC was written by Microsoft, true was +1.  Apple probably insisted on that so it would be the same as Apple's Integer BASIC (which had been written by Woz).

-- Michelle

--
Homosexuals do not recruit; Christians recruit, and so does the military.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Correcting AGE_INFO (From: "Nigel Garvey" <email@hidden>)
 >New date bug [Re: Correcting AGE_INFO] (From: "Nigel Garvey" <email@hidden>)
 >Re: New date bug [Re: Correcting AGE_INFO] (From: "Mark J. Reed" <email@hidden>)
 >Re: New date bug [Re: Correcting AGE_INFO] (From: Michelle Steiner <email@hidden>)
 >Re: New date bug [Re: Correcting AGE_INFO] (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: New date bug [Re: Correcting AGE_INFO]
  • Next by Date: Re: New date bug [Re: Correcting AGE_INFO]
  • Previous by thread: Re: New date bug [Re: Correcting AGE_INFO]
  • Next by thread: Re: New date bug [Re: Correcting AGE_INFO]
  • Index(es):
    • Date
    • Thread