IRecipeDefinition2.GetRecipeVariableName
(METH)
METHOD GetRecipeVariableName : POINTER TO BYTE
Returns the name of the recipe variable from the corresponding recipe at the given index. The variable name will be returned as a pointer to the zero terminated characters in STRING encoding.
Note
For performance reasons this function assumes that CurrentlySelectedRecipe is assigned!
- InOut:
Scope
Name
Type
Comment
Return
GetRecipeVariableName
POINTER TO BYTE
Input
iVarIndex
DINT
The index of the variable within the recipe
Output
errorCode
DWORD
An error code representing the result of the operation