Current machine

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


Current machine String

ParameterTypeDescription
This command does not require any parameters
Function resultStringNetwork name of the machine

Description

The Current machine command returns the network name of your machine, as set in the Network Control Panel.

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 On Startup database method of your application, you write:

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

See Also

Current machine owner.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next