'httpget$() function used to obtain your current external IP address. 
'No parsing is required, the page returns nothing but the IP. 
 
url$="http://www.networksecuritytoolkit.org/nst/cgi-bin/ip.cgi"
 
r$=httpget$(url$)
print r$
end
 
httpget$() function uses the HTTP protocol to get the contents of a web document using a URL. The document is returned as a string.