REBOL Programming/get-env

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

Contents

USAGE: [edit]

GET-ENV var 

DESCRIPTION: [edit]

Gets the value of an operating system environment variable.

GET-ENV is a native value.

ARGUMENTS [edit]

  • var -- Variable to lookup (Type: string)

SOURCE CODE [edit]

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