class of "foo" is in {string} evaluates to false
class of "foo" is in {string} evaluates to false
- Subject: class of "foo" is in {string} evaluates to false
- From: Harald E Brandt <email@hidden>
- Date: Tue, 6 Nov 2007 11:06:49 +0100
AppleScript Release Notes for Mac OS X version 10.5 says that: [quote] In addition, text, string, and Unicode text will all compare as equal. For example, class of "foo" is string is true, even though class of "foo" returns text. [/quote]
However, it does NOT work with the 'is in' construct.
The following evaluates to false: class of "foo" is in {string}
I call this a bug and have reported it to the Bug Reporter. (The original script of mine that was bitten by this bug had the construct: 'is in {string, Unicode text}'.)
-- heb
______heb____________________________
|
_______________________________________________
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