General system functions are described here.

The GetEnv function returns the value of the environment variable.
Print( GetEnv("PATH"))
// the same as
Print( $PATH )

The SetEnv function assigns the specified value to the environment variable.
SetEnv("MYVARB", true)
SetEnv("MYVARI", 101)
SetEnv("MYVAR", "Test value")
// the same as
$MYVARB = true
$MYVARI = 101
$MYVARI = "Test value"

The UnsetEnv function removes the environment variable.
Last modified 1yr ago
Copy link
On this page
GetEnv(str name) str
SetEnv(bool|int|str name)
UnsetEnv(str name)