Skip to content

_getenv

bergsma edited this page Sep 26, 2014 · 3 revisions

#getenv

###Get the value of an environment variable.

Syntax

result = getenv name ;

Arguments

  1. list name

The name of the environment variable.

Return Value

list result
  • value : The value of the environment variable.

The STATUS variable is set to $ACKNOWLEDGE

Warnings

  • %UNDEFINED: No value for environment variable found.

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: result = getenv name ;

Description

  • None

Examples

puts "Create an example for the function 'getenv'" ;

Related Links

None

Clone this wiki locally