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