Purpose
Set the value of an
environment variable of the operating system.
Synopsis
procedure setenv(name:string,value:string)
Arguments
name
|
Name of the environment variable
|
value
|
New value for the environment variable
|
Further information
1.
The environment variable is deleted if it is assigned an empty
string.
2.
Variables created or modified with this procedure can be retrieved using the
getenv function and are inherited by processes started by
system
or
openpipe.
3.
The effect of this procedure is local to the running model (
i.e.
system calls like the C function
getenv will not work for
these variables). However, another module may access the environment
maintained by
mmsystem using the IMCI function
getenv (see Section
Published library functions).
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.