Name
tuple_environmenttuple_environmentTupleEnvironmenttuple_environmentTupleEnvironmentTupleEnvironment — Read one or more environment variables.
Herror tuple_environment(const char* Names, char* Values)
Herror T_tuple_environment(const Htuple Names, Htuple* Values)
Herror tuple_environment(const HTuple& Names, char* Values)
Herror tuple_environment(const HTuple& Names, HTuple* Values)
tuple_environmenttuple_environmentTupleEnvironmenttuple_environmentTupleEnvironmentTupleEnvironment reads the content of all environment variables
that are referenced by their names in the input tuple NamesNamesNamesNamesNamesnames and
returns the content with the output tuple ValuesValuesValuesValuesValuesvalues. The input
tuple may only contain strings.
Exception: Empty input tuples
If the input tuple is empty, the operator returns an empty tuple.
Additionally, an empty string is returned for every
name within NamesNamesNamesNamesNamesnames that does not denote a valid environment
variable.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_environmenttuple_environmentTupleEnvironmenttuple_environmentTupleEnvironmentTupleEnvironment,
which can be used in an expression in the following syntax:
Values := environment(Names)
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Tuple containing name(s) of the environment
variable(s).
Content of the environment variable(s).
tuple_strstrtuple_strstrTupleStrstrtuple_strstrTupleStrstrTupleStrstr,
tuple_strrstrtuple_strrstrTupleStrrstrtuple_strrstrTupleStrrstrTupleStrrstr,
tuple_strchrtuple_strchrTupleStrchrtuple_strchrTupleStrchrTupleStrchr,
tuple_strrchrtuple_strrchrTupleStrrchrtuple_strrchrTupleStrrchrTupleStrrchr,
tuple_strlentuple_strlenTupleStrlentuple_strlenTupleStrlenTupleStrlen,
tuple_str_first_ntuple_str_first_nTupleStrFirstNtuple_str_first_nTupleStrFirstNTupleStrFirstN,
tuple_str_last_ntuple_str_last_nTupleStrLastNtuple_str_last_nTupleStrLastNTupleStrLastN,
tuple_splittuple_splitTupleSplittuple_splitTupleSplitTupleSplit,
tuple_substrtuple_substrTupleSubstrtuple_substrTupleSubstrTupleSubstr
Foundation