Rebol Programming/set-env

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

SET-ENV var value 

DESCRIPTION:[edit | edit source]

Sets the value of an operating system environment variable.

SET-ENV is a native value.

ARGUMENTS[edit | edit source]

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

SOURCE CODE[edit | edit source]

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"
]