Skip to main content
Version: 21 R3

Current machine

Current machine : Text

ParameterTypeDescription
Function resultText←Network name of the machine
History
ReleaseChanges
6Created

Description​

The Current machine command returns the name of the machine as set in the network parameters of the operating system.

Example​

Even if you are not running with the Client/Server version of the 4D environment, your application can include some network services that require your machine to be correctly configured. In the of your application, you write:

 If((Current machine="")|(Current system user=""))
  //Display a dialog box asking the user to setup the Network identity of his or her machine
 End if

See also​

Current system user

Properties​

Command number483
Thread safeyes