Re: If Statements
Re: If Statements
- Subject: Re: If Statements
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 13 Sep 2008 10:31:07 -0700
- Thread-topic: If Statements
On 9/13/08 9:32 AM, "Axel Luttgens" <email@hidden> wrote:
> And just to be more precise: "seems" is misleading, as AppleScript
> always has coerced the right-hand operand accordingly to the type of
> the left-hand operand in the case of binary operators.
There's an exception to that for those in "intermediate" OS's 10.4 and, I
think, 10.3 (I don't have the time at the moment to go back and check). When
Unicode text was first brought in (OS 9 somewhere?), the same rules applied
also to concatenation of different classes of text: left side of '&'
operator ruled, so if left side was string and right side Unicode, it all
got coerced to plain text (string). Then, more recently (I think 10.3, and
still true in 10.4) concatenation of (plain or international) string with
Unicode text always yielded Unicode: the exception to the rule. Now, in OS
10.5 (AppleScript 2.0), all text is Unicode anyway, so it's irrelevant/NA.
--
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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden