Posted by Oliver Grδtz on 03/01/07 11:19
denisbytezone@gmail.com schrieb:
> The first problem I still see as a problem however. Why can't it just
> compare the two memory addresses of the two objects and say "both
> objects are at the same location, therefore they are equal", instead
> of trying to traverse the data structures?
I already told you that the "===" is meant for such comparisons and that
"==" is for totally different applications. And please try to forget
about memory locations. If you think about them again, then please ask
yourself why you didn't also think about manually freeing up the memory
at the end of your program ;-)
OLLi
____________
"Honey, the marriage counseling might not work out. You need to get used
to bad cooking."
[Bree on Desperate Housewives 105]
[Back to original message]
|