Anonymous user
HTTP: Difference between revisions
m
Updated URL.
m (Updated URL.) |
m (Updated URL.) |
||
Line 1,375:
{{trans|Java}}
An implementation of the [[#Java|Java]] version shown above; demonstrating NetRexx's ability to exploit the rich Java SDK.
<lang NetRexx>options replace format comments java crossref symbols binary▼
▲options replace format comments java crossref symbols binary
import java.util.Scanner
import java.net.URL
do
rosettaUrl = "http://www.
sc = Scanner(URL(rosettaUrl).openStream)
loop while sc.hasNext
say sc.nextLine
end
catch ex = Exception
ex.printStackTrace
end
return</lang>
|