Back to FabImage Library website

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

ReadEnvironmentVariable


Header: STD.h
Namespace: fil
Module: FoundationLite

Reads environment variable by given name.

Syntax

void fil::ReadEnvironmentVariable
(
	const ftl::String& inVariableName,
	ftl::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.