Recipes library

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language > Embedded functions >

Recipes library

Previous pageReturn to chapter overviewNext page

selrecipe(Input1, Input2) -  used to choose recipe row. Input2 is an input that contains name of the recipe. Input1 is number of the row (starting from 1). Output = true if recipe row is chosen.

 

Example:

selrecipe(2, "Recipe1");

Response:

Select row number 2 from recipe with name Recipe1.

 

exportrecipestocsv(recipename, filename) - used to export recipe database content with the recipename to CSV file with the name filename.

 

Example:

exportrecipestocsv("Recipe1", "file.csv");

 

importrecipesfromcsv(recipename,recipefile) - used to import recipe from CSV file to recipe database.

 

Example:

importrecipesfromcsv("Recipe1", "file.csv");