Re: Date math question
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.