Skip to content

Get_Environment

See Also: Get_Current_Directory, Runprogram

Purpose

To read the value of an environment variable into the program.

Syntax

Get_Environment {name} To {variable}

What It Does

Get_Environment searches for a defined environment variable {name} and returns the value of the environment variable in {variable}. If {name} is not found, {variable} is set to null.

Get_Environment only searches the startup environment.