Hostname: Difference between revisions

40 bytes removed ,  13 years ago
m
→‎Icon and Unicon: header simplification
m (→‎Icon and Unicon: header simplification)
Line 142:
putStrLn hostName</lang>
 
== {{header|Icon}} and {{header|Unicon }}==
==={{headerworks with|Unicon}}===
==={{header|Icon}}===
<lang icon>procedure main()
write(&host)
end</lang>
==={{header|Unicon}}===
This Icon solution works in Unicon.
 
=={{header|IDL}}==
Anonymous user