Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

SETENV


Syntax | Arguments | Keywords | Examples | Version History | See Also

The SETENV procedure adds or changes an environment string in the process environment.

Syntax

SETENV, Environment_Expression

Arguments

Environment_Expression

A scalar string or string array containing an environment expressions to be added to the environment.

Keywords

None.

Examples

Change the current shell variable by entering:

SETENV,'SHELL=/bin/sh' 

Make sure to eliminate any whitespace around the equal sign:

; This is an incorrect usage--there are spaces around the equal  
; sign: 
SETENV, 'VAR = H:\rsi' 
 
; This is correct--VAR is set to H:\rsi: 
SETENV, 'VAR=H:\rsi' 

Version History

Introduced: Original

See Also

GETENV


Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]