ENVIRON statement

Purpose

Modify the current program's environment table.

Syntax

ENVIRON envstring$

Remarks

Modify the environment table for the current program and any subsequent child programs that are launched.  A single string expression parameter sets both the name of the environment variable and its value, delimited by an equal ("=") sign.  If a value is not specified, the variable is removed from the environment table.

See also

ENVIRON$ function

Example

ENVIRON "SETMODE=YES"   ' SETMODE = "YES"

ENVIRON "SETMODE="      ' Removes SETMODE