SIMPOL Documentation

!getvariable()

Prototype

!getvariable ( string variable )

Return value

This function returns a string containing the value of the environment variable matching the string argument, or .nul if no match was found.

Description

Retrieves the value of an environment variable that matches the name of the argument passed. If no match is found, it returns .nul.

Parameters

ParameterDefault valueType nameDescription
variableNonestring The name of the environment variable to be retrieved.