Rebol Programming/get-env

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

USAGE:

[edit | edit source]
GET-ENV var 

DESCRIPTION:

[edit | edit source]

Gets the value of an operating system environment variable.

GET-ENV is a native value.

ARGUMENTS

[edit | edit source]
  • var -- Variable to lookup (Type: string)

SOURCE CODE

[edit | edit source]
get-env: native[
    {Gets the value of an operating system environment variable.} 
    var [string!] "Variable to lookup"
]