Command EN Version 2.97

SET VAR ENV

Syntax

SET VAR:VariableName,EnvironmentVariableName,DataTyp,ListSeperator;

Description

Attaches a global variable to the processing (analog) (VariableName[GLOBAL]:=@Environment(EnvironmentVariableName);).
DataTyp returns the DatenTyp of the variable and a ListSeperator (always one line only) returns the separating symbol for a list.

Possible Data Types (DataTyp):
TEXT
NUMBER
FLOAT
TEXTLIST
NUMBERLIST
FLOATLIST

Example:

SET VAR ENV:"Test","ApiTestEnvironmentVar",TEXT,"*";
END;

Assigns the variable

Test[GLOBAL]

to the value of the NOTES.INI Variable "ApiTestEnvironmentVar".