REBOL Programming/set-env

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

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