impure functiongetEnvironmentVariable

Get content of environment variable

Extends from Modelica.Icons.Function (Icon for functions).

Information

Inputs

TypeNameDefaultDescription
StringnameName of environment variable
BooleanconvertToSlashfalseTrue, if native directory separators in environment variable shall be changed to '/'

Outputs

TypeNameDefaultDescription
StringcontentContent of environment variable (empty, if not existent)
Booleanexist= true, if environment variable exists; = false, if it does not exist