Page 1 of 1

Hostname() in Linux

Posted: Tue Feb 24, 2004 1:37 am
by Beach
The following works with Windows but not on Linux.

Code: Select all

InitNetwork()
myHostName$ = Hostname() 
MessageRequester("test",myHostName$)
The error message states:
Line 2: Hostname() is not a function, an array, or a linked list

The help file states "HostName()" works with both Windows and Linux. Am I doing something wrong??

BTW: I am using the 3.81 version...

-Beach