This package contains functions to interact with the environment.
Extends from Modelica.Icons.Package (Icon for standard packages).| Name | Description | 
|---|---|
| Get full path name of work directory | |
| Set work directory | |
| Get content of environment variable | |
| Set content of local environment variable | |
| Execute command in default shell | |
| Terminate execution of Modelica environment | 
Modelica.Utilities.System.getWorkDirectory
| Name | Description | 
|---|---|
| directory | Full path name of work directory | 
Modelica.Utilities.System.setWorkDirectory
| Name | Description | 
|---|---|
| directory | New work directory | 
Modelica.Utilities.System.getEnvironmentVariable
| 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 | 
Modelica.Utilities.System.setEnvironmentVariable
| 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 | 
Modelica.Utilities.System.command
| Name | Description | 
|---|---|
| string | String to be passed to shell | 
| Name | Description | 
|---|---|
| result | Return value from command (depends on environment) | 
Modelica.Utilities.System.exit
| Name | Description | 
|---|---|
| status | Result to be returned by environment (0 means success) |