Coerce string to string!?
Coerce string to string!?
- Subject: Coerce string to string!?
- From: JJ <email@hidden>
- Date: Wed, 13 Feb 2002 18:47:56 +0100
I'm missing some basic concept here:
<START SCRIPT>
set Original_String to "String"
set | 1 string list | to {"String"}
| 1 string list |'s item 1 = Original_String
-- true (OK)
repeat with i in | 1 string list |
class of i
--> string (OK)
class of Original_String
--> string (OK)
i = Original_String
--> false (??????????)
(i as string) = Original_String
-- true (OK)
end repeat
</END SCRIPT>
So, AS 1.3.7 says:
i ("String"), wich is a string, is not equal to Original_String ("String"),
wich is a string, too.
Why?
JJ
_______________________________________________
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.