I'm debugging a program that I wrote and I fixed a bug by adding the like
Code:
if (this == 0) return 0
This is inside of a method, I thought that if this was zero, it would fail when I tried to call the function. Can someone explain this to me?