Thread: Code gurus
View Single Post
id10t id10t is online now
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,463
Quote:
Originally Posted by TimT View Post
When I entered my real Lat/Long in code..

weatherData = new WeatherUndergroundData("d0", RealLatitudehere, RealLongitudehere )

Upon debugging and compiling there were many errors. tried many variations of syntax..could not get that to work...
Need to see the errors. If it is about data type mismatch then check the docs for the data type the GeoByIP call returns and be sure to define your lat/long variables as the same type.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 03-03-2014, 06:13 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)