BBjConfig::env
Description
In BBj 25.03 and higher, this method returns the value of the specified server operating system environment variable. Unlike the ENV function in the language, it does not depend on whether the interpreter is client-centric.
Syntax
| Return Value | Method |
|---|---|
| string | env(string p_name, boolean p_caseInsensitive) |
Parameters
| Variable | Description |
|---|---|
| p_name | Name of the environment variable to return. |
| p_caseInsensitive | True if the variable name should be considered case insensitive. |
Return Value
Returns the value of the specified server operating system environment variable.
Throws a BBjException if an error occurs or if the variable does not exist.
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.