[**delphirtl**](../README.md) • **Docs**

***

[delphirtl](../globals.md) / GetEnvironmentVariable

# Function: GetEnvironmentVariable()

> **GetEnvironmentVariable**(`Name`): `string`

Retrieves the contents of the specified variable from the environment block

## Parameters

• **Name**: `string`

The name of the environment variable to retrieve

## Returns

`string`

The value of the given environment variable

## Defined in

[src/sysutils.ts:397](https://github.com/chuacw/delphirtl/blob/b2d86277a5251f0037cf01044224c3e29dc4c6be/src/sysutils.ts#L397)
