Back to Aurora Vision Library website

You are here: Start » Function Reference » System » Process » ReadEnvironmentVariable

ReadEnvironmentVariable


Header: STD.h
Namespace: avl
Module: FoundationLite

Reads environment variable by given name.

Syntax

void avl::ReadEnvironmentVariable
(
	const atl::String& inVariableName,
	atl::String& outValue
)

Parameters

Name Type Default Description
Input value inVariableName const String& Variable name to be read
Output value outValue String& Variable value

Errors

List of possible exceptions:

Error type Description
IoError Variable: 'Variable name' was not found.