Workspace 6.21.5
GetEnvironment

Retrieves the value of an environment variable from the current environment.

  • Default label: "Get environment"
  • Member of plug-in: Built-in
  • Catalogue path: Builtin/System
Inputs:
Variable nameQStringThe name of the environment variable to retrieve. This should be considered case-sensitive, since some platforms treat environment variables case-sensitively and others do not.
Value if missingQString

If the named environment variable is not found, the value used at the Value if missing input is used instead. This allows a kind of fall - back behaviour to be used.

Outputs:
ValueQString

This will hold the value of the named environment variable, or if not found then the value of the Value if missing input.