This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SET ENVIRONMENT VARIABLE
|
SET ENVIRONMENT VARIABLE ( varName ; varValue ) | ||||||||
Parameter | Type | Description | ||||||
varName | String |
![]() |
Variable name to set | |||||
varValue | String |
![]() |
Value of the variable or "" to reset default value | |||||
The SET ENVIRONMENT VARIABLE command allows you to set the value of an environment variable under macOS and Windows. It is meant to be used with the LAUNCH EXTERNAL PROCESS command. It also works with the PHP Execute command.
Pass the name of the variable to define in varName and its value in varValue.
Refer to examples of the LAUNCH EXTERNAL PROCESS command.
Product: 4D
Theme: Tools
Number:
812
Modified: 4D v11 SQL
4D Language Reference ( 4D v20 R7)