contents   index   previous   next



Clib.putenv()

syntax:

Clib.putenv(variableName, stringValue)

where:

variableName - the name of an environment variable.

 

stringValue - new value for environment variable variableName.

 

return:

number - 0 on success, else -1.

 

description:

This method sets the environment variable variableName to the value of stringValue. If stringValue is null then variableName is removed from the environment. For those operating systems in which ScriptEase can alter the parent environment (DOS or OS/2 when invoked with SD.bat or SEset.cmd) the variable setting will still be valid when ScriptEase exits; otherwise, the variable change applies only to the ScriptEase code and to child processes of the ScriptEase program. Returns 1 if there is an error, else 0.

 

see:

Clib.getenv()

 

 


Character classification