Environment
Access to environment variables and system properties.
xxml
#import Language::System;Variables
| Method | Parameters | Returns | Description |
|---|---|---|---|
| get | name: String& | String^ | Get environment variable |
| set | name: String&, value: String& | Bool^ | Set environment variable |
| getAll | — | Map<String, String>^ | Get all variables |
Paths
| Method | Parameters | Returns | Description |
|---|---|---|---|
| getCurrentDirectory | — | String^ | Current working directory |
| getHomeDirectory | — | String^ | User home directory |
| getTempDirectory | — | String^ | System temp directory |
System
| Method | Parameters | Returns | Description |
|---|---|---|---|
| getOsName | — | String^ | Operating system name |
| getOsVersion | — | String^ | OS version |
| getProcessorCount | — | Integer^ | CPU core count |