# weather.tcl # Reads weather map from National Weather Service source getFromWeb.tcl # GET IMAGE FILE FROM NATIONAL WEATHER SERVICE set URL www.wrh.noaa.gov//TotalForecast//images//Monterey.gif getFromWeb $URL downLoaded.gif # CREATE GRAPHICAL USER INTERFACE image create photo weatherMap -file downLoaded.gif label .lImage -image weatherMap button .bExit -text Exit -command exit button .bUpdate -text Update -command loadImage pack .lImage pack .bUpdate .bExit -side left # ROUTINE USED BY "UPDATE" BUTTON proc loadImage { } { global URL # GET FRESH IMAGE getFromWeb $URL downLoaded.gif # DISPLAY IMAGE .lImage config -image weatherMap }
Writing Intelligent Web Agents
Browser Creator Predicts Its Demise. Back in the mid-1990s I attended a panel discussion where Marc Andreessen, the cofounder and then chief technology officer of Netscape, was asked for his predictions of where the World Wide Web was headed. He predicted, to a surprised crowd, that the days of the browser, as the primary means of viewing the Internet, were numbered.Related Reading
More Insights
INFO-LINK
To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy. | |