4D v16.3

Current machine

Home

 
4D v16.3
Current machine

Current machine 


 

Current machine -> Function result 
Parameter Type   Description
Function result  String in Network name of the machine

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 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

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 483

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)