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

Re: Date math question


  • Subject: Re: Date math question
  • From: Chris Page <email@hidden>
  • Date: Mon, 9 Jun 2003 13:52:33 -0700

On Monday, Jun 9, 2003, at 10:46 US/Pacific, Paul Berkowitz wrote:

It has to be resolved first:

(date foo) - (get date bar)

These work, too, by the way:

(date foo) - (date bar as date)
(date foo) - (a reference to date bar)

I guess any operation on "date bar" causes it to get evaluated to a date.

But I'm still fuzzy on why "date bar" causes an error. Is it that placing "date foo" on the left-hand side of "-" constitutes performing an operation on it, so it gets resolved, but placing an unadorned "date bar" on the right leaves it as an unresolved object specifier?

--
Chris Page - Software Wrangler - Palm, Inc.
_______________________________________________
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.

References: 
 >Re: Date math question (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Bug in iTunes?
  • Next by Date: Re: Date math question
  • Previous by thread: Re: Date math question
  • Next by thread: Re: Date math question
  • Index(es):
    • Date
    • Thread