https://issues.apache.org/bugzilla/show_bug.cgi?id=47857

Sebb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #7 from Sebb <[email protected]> 2009-10-28 03:58:01 UTC ---
The code in the If test case is invalid:

if(value==1) print("Google It!");
  else print("Forget It!");
if(data=="India") print("Google It!");
  else print("Forget It!");

value and data are string variables, and need to be compared using the equals()
method.

e.g.

if (value.equals("1")) etc.

In future, please ask such usage questions on the user list.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to