Re: Why is it
Re: Why is it
- Subject: Re: Why is it
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 01 Jan 2005 10:53:25 -0800
On 12/31/04 7:45 PM, "Bill Briggs" <email@hidden> wrote:
> At 6:57 PM -0800 12/31/04, Paul Berkowitz wrote:
>> Your question was indeed so subtle that it was not entirely clear that you
>> realized that " > " operator made sense only for numbers here, implying an
>> automatic coercion to integer. I'm sure lots of readers here didn't
>> realize that.
>
> Oh for god's sake, can you ever stop being a supercilious prig for
> even five minutes. The necessary coercion is obvious. Don't be so
> quick to assume that the rest of the list doesn't think, or doesn't
> have a clue.
And a very happy New Year's to you too, Bill. It seems I've been offending
or annoying you for a long time, from the sound of it. I'm sorry about that.
I would certainly never assume that you and other experts would be unaware
of the coercion operating here. But I don't know that it's so obvious as all
that to everyone: some people might not even be aware that there is a 'month
as integer' coercion in Panther at all, especially if they're still in
Jaguar or earlier.
>
>
>> AppleScript _constants_ can't depend on user preferences. How would one
>> ever know what someone else meant? The AppleScript constant for "Monday" is
>> Monday, no matter what your regional settings. In fact, set your
>> International Prefs to French/France now, and try:
>
> Dialects vanished ages ago. Nobody needs a refresher on this. Maybe
> it's time for you to make a new years resolution.
Fair enough. But you snipped the next bit about coercions of date parts and
constants to string. Those aren't consistent, and have nothing to do with
dialects.
The results of date as string, date string, time string, and the brand new
'short date string' all depend on the user's International System
Preferences - which may be what Michelle had in mind when she mentioned
those - whereas 'month as string' and 'weekday as string' do not: these
always coerce to the English transliteration. I was suggesting that 'weekday
as integer' would do the same thing as 'weekday as string' does and adhere
to the US version (or maybe to the ISO version Shane informed us of)
consistently, rather than follow the 'date as string' model, which is
localized. This seems to me to be a valid topic of speculation. I'm not sure
why you felt you had to be so insulting about my discussing it: if I was
patronizing in the way I expressed myself, I'm sorry.
--
Paul Berkowitz
_______________________________________________
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