• 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
Re: Returns from a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returns from a sheet


  • Subject: Re: Returns from a sheet
  • From: Joel Rosenblum <email@hidden>
  • Date: Sat, 4 May 2002 01:20:22 -0400

"if (mystr==@"test")" will
never return true, because the pointer to mystr is different than the
pointer to @"test"

Ammm... although with the general attitude I do agree, this one sentence
is wrong: the compiler does coalesce strings

Although == won't work when the string was created by some means other than direct assignment of a string constant, such as reading from a file, or getting the substring of another string, correct?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: Leaks When Running MultiThreaded (Even w/ AutoRelease Pool)
  • Next by Date: Retain, then autorelease and then release does what?
  • Previous by thread: Re: Returns from a sheet
  • Next by thread: Finder View Buttons
  • Index(es):
    • Date
    • Thread