ExamineEnvironmentVariables()

Syntax

Result = ExamineEnvironmentVariables()
Description
Starts to examine the environment block of the program. If the environment block cannot be read, the result is zero.

NextEnvironmentVariable(), EnvironmentVariableName() and EnvironmentVariableValue() can be used to read the individual environment variables.

Example:
  ; Will output all environment variables of the program  
  ;
  OpenConsole()
  If ExamineEnvironmentVariables()
    While NextEnvironmentVariable()
      PrintN(EnvironmentVariableName() + " = " + EnvironmentVariableValue())
    Wend
  EndIf
  PrintN("")
  PrintN("Press Enter to quit.")
  Input() 

Supported OS

All

<- EnvironmentVariableValue() - Process Index - GetEnvironmentVariable() ->