This program tests the function hostname(). It prints it on the screen.
Example hostname.bas :
print "The local host name is :", hostname(),"\n"
Result executing hostname.bas :
Possible error messages sent to stderr: