|
This function returns the value of an environment variable / parameter of the client or the server. Available environment parameters include:
|
||||||||||||||||||||||||||
Syntax: |
|||||||||||||||||||||||||||
{STR_VAR}= environment ({STR_EXPR}) | |||||||||||||||||||||||||||
I/O parameters:
|
|||||||||||||||||||||||||||
Return value: |
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
Example: |
|||||||||||||||||||||||||||
Declaration of Variables | |||||||||||||||||||||||||||
10 DOCU_STRING_1 = environment("DTV_HWS") 20 put(DOCU_STRING_1) |
|||||||||||||||||||||||||||
Result: |
|||||||||||||||||||||||||||
![]() |
Functions and commands: Operating System Interface |
||||||||||||||||||||||||||
UTF8 Conversion on UNIX Server |
|||||||||||||||||||||||||||
When the EDM Server is installed on UNIX and the LogiView function 'environment' is used to get the content of an environment variable, the converter name is derived from the locale settings, especially the LANG environment variable. To use UTF-8 as locale setting, the following values can be set in the customizing script of Agile e6.
|
|||||||||||||||||||||||||||
UTF8 Conversion on Windows Server |
|||||||||||||||||||||||||||
On Windows, the C API function _wgetenv is used. With this function the server reads environment strings in Unicode and converts the values to UTF-8 internally. Values stored via the Windows Control Panel - including predefined variables like USERNAME and PATH - may contain any Unicode character. |