-
Notifications
You must be signed in to change notification settings - Fork 2
_setenv
bergsma edited this page Sep 26, 2014
·
3 revisions
#setenv
###Set an environment variable.
Syntax
status = setenv ( name,value ) ;
Arguments
- list name
The name of the environment variable
- list value
The value of the environment variable
Return Value
str status
- $ACKNOWLEDGE : The environment variable was set. If not found, the value is set to "".
The STATUS variable is set to $ACKNOWLEDGE
- %UNDEFINED : Failed to set environment variable.
The STATUS variable is set to %UNDEFINED
Warnings
- %UNDEFINED : Failed to set environment variable.
Exceptions
- %ARGUMENT: Invalid arguments. Usage: status = setenv ( name,value ) ;
Description
- None
Examples
puts "Create an example for the function 'setenv'" ;
Related Links
None