.Modelica.Utilities.System.getEnvironmentVariable

Get content of environment variable

Information

Interface

impure function getEnvironmentVariable
  extends Modelica.Icons.Function;
  input String name "Name of environment variable";
  input Boolean convertToSlash = false "True, if native directory separators in environment variable shall be changed to '/'";
  output String content "Content of environment variable (empty, if not existent)";
  output Boolean exist "= true, if environment variable exists; = false, if it does not exist";
end getEnvironmentVariable;

Generated at 2025-03-05T19:25:09Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos