Environment

Access to environment variables and system properties.

xxml
#import Language::System;

Variables

MethodParametersReturnsDescription
getname: String&String^Get environment variable
setname: String&, value: String&Bool^Set environment variable
getAllMap<String, String>^Get all variables

Paths

MethodParametersReturnsDescription
getCurrentDirectoryString^Current working directory
getHomeDirectoryString^User home directory
getTempDirectoryString^System temp directory

System

MethodParametersReturnsDescription
getOsNameString^Operating system name
getOsVersionString^OS version
getProcessorCountInteger^CPU core count

See Also