This package contains functions to interact with the environment.
Extends from Modelica.Icons.Package (Icon for standard packages).Name | Description |
---|---|
getWorkDirectory | Get full path name of work directory |
setWorkDirectory | Set work directory |
getEnvironmentVariable | Get content of environment variable |
setEnvironmentVariable | Set content of local environment variable |
command | Execute command in default shell |
exit | Terminate execution of Modelica environment |
Name | Description |
---|---|
directory | Full path name of work directory |
Name | Description |
---|---|
directory | New work directory |
Name | Description |
---|---|
name | Name of environment variable |
convertToSlash | True, if native directory separators in 'result' shall be changed to '/' |
Name | Description |
---|---|
content | Content of environment variable (empty, if not existent) |
exist | = true, if environment variable exists; = false, if it does not exist |
Name | Description |
---|---|
name | Name of environment variable |
content | Value of the environment variable |
convertFromSlash | True, if '/' in content shall be changed to the native directory separator |
Name | Description |
---|---|
string | String to be passed to shell |
Name | Description |
---|---|
result | Return value from command (depends on environment) |
Name | Description |
---|---|
status | Result to be returned by environment (0 means success) |