Checking null or not

Error correction
if( something !=null) { }

01 First i didn’t check at all

02  Once i add  if(textCity[i]!=null){ }  it worked. then i add on more line of code trying to display country name. Then it didn’t work again. Soon Francis informed me that i should check one more time since i am checking only for one function out of two i command.

03 Now it’s working well!

Advertisements

Comments

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s