Skip to content

_setenv

bergsma edited this page Sep 26, 2014 · 3 revisions

#setenv

###Set an environment variable.

Syntax

status = setenv ( name,value ) ;

Arguments

  1. list name

The name of the environment variable

  1. 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

Clone this wiki locally