RecipeManCommands.SetRecipeValues (METH)

METHOD SetRecipeValues : DWORD

Sets the recipe values of the corresponding recipe

Example:

We have 50 recipe values. We want to create a table which sets 10 recipe values at the same time. We define a string array strArr: ARRAY[0..9] OF STRING; Corresponding to the iStartIndex we can set the recipe values from a specific area.

  • StartIndex := 0; The values 0..9 are set.

  • iStartIndex := 20; The values 20..29 are set.

In this example:
  • iSize := 10;

InOut:

Scope

Name

Type

Comment

Return

SetRecipeValues

DWORD

Possible last error values:

See ReturnValues (GVL) for a description of all possible errors.

Input

RecipeDefinitionName

STRING

Name of the recipe definition

RecipeName

STRING

Name of the recipe

pStrings

POINTER TO ARRAY [0..0] OF STRING

The strings with the recipe values

iSize

INT

Size of the string array.

iStartIndex

INT

Start index. Can be used for a scrolling function (see example)