The function GetVarSetFromRepos retrieves a particular variable set from the variable repository. The parameter VSetIdx is the index into the variable repository (valid range: 1...SizeVarSetRepos).
The variable parameter Identifier returns the name of the variable set, the variable arrays Varix and VarNames contain the variable indices and the corresponding variable names.
The function returns the following error codes:
>0 ... everything is OK, the function returns the index of the new entry in the repository
-1 ... VSetIdx is out of range
|