Comparing strings
Comparing strings
- Subject: Comparing strings
- From: Gil Dawson <email@hidden>
- Date: Fri, 31 May 2002 23:48:50 -0700
I apologize if this question has been asked, but I can't seem to find it:
In Applescript 1.7 using ScriptEditor 1.6 (MacOS 9.2.2) the following
scriptette:
repeat with C in {"all", "none"}
log C
log class of C --always "string"
log C = "all" -- always returns "false"
end repeat
produces the following log:
(*all*)
(*string*)
(*false*)
(*none*)
(*string*)
(*false*)
Why does the last line always return "false"?
_______________________________________________
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.