RosettaCodeData/Task/HTTP/NetRexx/http.netrexx

18 lines
316 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
/* NetRexx */
2015-11-18 06:14:39 +00:00
options replace format comments java crossref symbols binary
2013-04-10 22:43:41 -07:00
import java.util.Scanner
import java.net.URL
do
rosettaUrl = "http://www.rosettacode.org"
sc = Scanner(URL(rosettaUrl).openStream)
loop while sc.hasNext
say sc.nextLine
end
catch ex = Exception
ex.printStackTrace
end
return