Hostname() in Linux

Linux specific forum
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Hostname() in Linux

Post 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