RecipeManCommands.GetRecipeValuesSizeOf (METH)ΒΆ
METHOD GetRecipeValuesSizeOf : DWORD
Returns the recipe values from the corresponding recipe.
Example:
We have 50 recipe values. We want to create a table which shows 10 recipe values at the same time.
We define a string array strArr: ARRAY[0..9] OF STRING;
Corresponding to the iStartIndex we can get the recipe values from a specific area.
iStartIndex:= 0; The values 0..9 are returned.
iStartIndex:= 20; The values 20..29 are returned.
In this example:
iSizeOfString:= TO_INT(SIZE_OF(strArr[0]));
iSize:= 10;
- InOut:
Scope
Name
Type
Comment
Return
GetRecipeValuesSizeOfDWORDPossible last error values:
See ReturnValues (GVL) for a description of all possible errors.
Inout Const
RecipeDefinitionNameSTRINGName of the recipe definition.
RecipeNameSTRINGName of the recipe.
Input
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).
iSizeOfStringINTSize of a string in the pStrings array. It should correspond to the actual number of bytes provided by the SIZEOF operator.