Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

setenv name value


Alias

putenv set_env


Description

Set or add an environment variable. The setenv command adds the variable name to the environment with the value value, if name does not already exist. If name does exist in the environment, then its value is changed to value


Parameters

name

Environment variable name.

value

Environment value.


Return Value

Boolean: TRUE(1) on success, FALSE(0) otherwise. Use libcox_value_to_bool() or libcox_value_to_int() to extract the processing result.