impure functiongetEnvironmentVariable
Get content of environment variable
Extends from Modelica.Icons.Function (Icon for functions).
Information
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | name | Name of environment variable | |
| Boolean | convertToSlash | false | True, if native directory separators in environment variable shall be changed to '/' |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | content | Content of environment variable (empty, if not existent) | |
| Boolean | exist | = true, if environment variable exists; = false, if it does not exist |