Rebol Programming/set-env

USAGE:

edit
SET-ENV var value 

DESCRIPTION:

edit

Sets the value of an operating system environment variable.

SET-ENV is a native value.

ARGUMENTS

edit
  • var -- Variable to set (Type: string)
  • value -- Value to set, or NONE to unset it (Type: string none)

SOURCE CODE

edit
set-env: native[
    {Sets the value of an operating system environment variable.} 
    var [string!] "Variable to set" 
    value [string! none!] "Value to set, or NONE to unset it"
]