Skip to content

SET_ENV_STRING ​

SET_ENV_STRING is used to add an environment variable.

Syntax ​

leo-grammar
CC "Core" SET_ENV_STRING envvar:strValue envstr:strValue. 

#--> RESULT ecode:intValue
CC "Core" SET_ENV_STRING envvar:strValue envstr:strValue. 

#--> RESULT ecode:intValue

Parameters ​

  • envvar (strValue) - the name of the environment variable
  • envstr (strValue) - the new value of the environment variable

Returns ​

  • ecode (intValue) - -1 in case of error or 0 in case of success.

Details ​

This function has no effect on AdoScript internal variables!

See Also ​

GET_ENV_STRING

Versions and Changes ​

Available since ADOxx 1.3