REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: get-env

get-env  var

Returns the value of an OS environment variable (for current process).


var [any-string! any-word!]

See also:



This function will return the string associated with an OS environment variable.

probe get-env "COMPUTERNAME"

To obtain a list of all environment variables and their values, use list-env.

  TOC < Back Next > - WIP Wiki Feedback Admin