if (gps.location.isUpdated())
{
latitude = (gps.location.lat() , smiley-cool;
longitude = (gps.location.lng(), smiley-cool;
}
What do you think this code is doing? Why dis you write it that way? Even without the stupid smiley faces, it is nearly certain that the comma operator is NOT doing what you are assuming it does.