[thelist] C

Rory.Plaire at wahchang.com Rory.Plaire at wahchang.com
Fri Oct 12 11:47:34 CDT 2001


I think this deserves to be a ...

<tip type="general programming" author="R.Livsey">

Typing = instead of == can cause all sorts of errors.
Instead of typing :

  if ($i==0){...}
 
Try using the format :
 
  if (0==$i){...}

Now if you make the mistake of typing = instead of == you will get an error
as 0 cannot be assigned a value! 

</tip>




More information about the thelist mailing list