Title Banner


Technical Q&A's


AMT_PE 25 - "string equal" Not Reliable (1-Aug-95)


Q The "string equal" doesn't seem to work reliably. Is this being fixed?

A The "=" operator is not always a "deep equal", and "=" ordinarily compares only two addresses for equality rather than comparing the values at those addresses. The best workaround is to subtract the two strings, and check the result. If the result is zero, the two strings contain the same characters

Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help