• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Comparing strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: How to identify the default browser? (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Applescript under load
  • Next by Date: Creating a new field in FileMaker Pro
  • Previous by thread: Re: How to identify the default browser?
  • Next by thread: migrating a Eudora script to Mail.app
  • Index(es):
    • Date
    • Thread