Back to FabImage Library website

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

ReadEnvironmentVariable_OrNil


Header: STD.h
Namespace: fil
Module: FoundationLite

Reads environment variable by given name.

Syntax

void fil::ReadEnvironmentVariable_OrNil
(
	const ftl::String& inVariableName,
	ftl::Optional<ftl::String>& outValue
)

Parameters

Name Type Default Description
Input value
inVariableName const String& Variable name to be read
Output value
outValue Optional<String>& Variable value or nil

Optional Outputs

The computation of following outputs can be switched off by passing value ftl::NIL to these parameters: outValue.

Read more about Optional Outputs.