Hostname: Difference between revisions
added PowerBASIC
(add JavaScript, ws) |
(added PowerBASIC) |
||
Line 176:
=={{header|Pop11}}==
lvars host = sys_host_name();
=={{header|PowerBASIC}}==
This retreives the localhost's name:
<lang powerbasic>HOST NAME TO hostname$</lang>
This attempts to retreive the name of any given machine on the network:
<lang powerbasic>HOST NAME ipAddress& TO hostname$</lang>
=={{header|PowerShell}}==
|