Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Days and hours



On 10/19/05, Emile Schwarz <email@hidden> wrote:
>From the language Reference:

<quote>
Month
One of the constants January,February,March,April,May,
June,July,August,September,October,November, December or
Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep, Oct,Nov,Dec.
</quote>
So, both formats exists in Constant...

Actually, that seems to be incorrect.  On both Panther and Tiger, I get this:

execution error: The variable Jan is not defined. (-2753)

But even if they both existed, that wouldn't help with the output issue; January and Jan would just be two variables with the same value. 

What is the actual type of these constants?  Is there a "month" class?  What causes them to stringify differently in dialogs than they do when logged or output via return?

--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Days and hours (From: Emile Schwarz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.