Thread: SImple Problem
View Single Post
  #15  
Old 03-08-2007, 09:12 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by zokemon View Post
== is not required.
= works just fine.
== is required.

= may have worked in GS1, but it acts a lot differently (as it should) in GS2.

For example:
PHP Code:
if (this.foo == 1
This checks if this.foo equals 1

PHP Code:
if (this.bar 1
This assigns the value '1' to this.bar and returns the value of this.bar after the assignment.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.

Last edited by napo_p2p; 03-08-2007 at 10:36 PM..
Reply With Quote