Thread: Learning GS2 :D
View Single Post
  #12  
Old 09-11-2006, 06:58 PM
jami_jamie jami_jamie is offline
Registered User
jami_jamie's Avatar
Join Date: Jan 2006
Posts: 9
jami_jamie is on a distinguished road
Quote:
Originally Posted by JkWhoSaysNi
Secondly, comparision is done with == not =.

= is used to set values and can be read as "becomes". == can be read as "is equal to", so that line of code should be this:
PHP Code:
if (this.value == 0) { 
We already picked up on that during this thread. Dont repeat it. xD
Reply With Quote