RecipeManCommands.GetRecipeVariableNames (METH)ΒΆ
METHOD GetRecipeVariableNames : DWORD
Returns the recipe variable names from the corresponding recipe
Example:
We have 50 recipe variable names. We want to create a table which shows 10 recipe variable names at the same time.
We define a string array strArr: ARRAY[0..9] OF STRING;
Corresponding to the iStartIndex we can get the recipe variable names from a specific area.
StartIndex:= 0; The variable names 0..9 are returned.
iStartIndex:= 20; The variable names 20..29 are returned.
In this example:
iSize:= 10;
- InOut:
Scope
Name
Type
Comment
Return
GetRecipeVariableNamesDWORDPossible last error values:
See ReturnValues (GVL) for a description of all possible errors.
Input
RecipeDefinitionNameSTRINGName of the recipe definition
RecipeNameSTRINGName of the recipe
pStringsPOINTER TO ARRAY [0..0] OF STRING
The strings where the recipe values should be stored
iSizeINTSize of the string array.
iStartIndexINTStart index. Can be used for a scrolling function (See example)