ccSetEnv

Syntax

ccSetEnv(Name,Value)

Description

ccsetenv function sets the value of an environment variable for the current process

Parameters

Name
 string that specifies the environment variable whose value is being set.
 The operating system creates the environment variable if it does not exist
 and Value is not NULL.
 

 Value
 string containing the new value of the specified environment variable.
 If this paramete is NULL, the variable is deleted from the current
 process's environment.
 

 

Return value

If the function succeeds, the return value is nonzero

Remarks

This function has no effect on the system environment variables or the environment variables of other processes

Example usage

See ccSetEnv.eba