RecipeDelete() function
- Last UpdatedJun 17, 2024
- 1 minute read
The RecipeDelete function deletes a recipe from a specified recipe template file.
Category
Recipe
Syntax
RecipeDelete("Filename","RecipeName");
Arguments
FileName
Name of the recipe template file. The value associated with FileName can be a string constant or a message tag containing the name of the recipe template file.
RecipeName
Name of the specific recipe in the designated recipe template file. The value associated with RecipeName can be a string constant or a message tag that contains the name of the recipe.
Example
The following statement deletes the Distlt1 recipe from the recfile.csv file:
RecipeDelete("c:\recipe\recfile.csv", "Distlt1");