The NumberRecipes() function counts the number of recipes in a Recipe Manager recipe file.
Click below to download the NumberRecipes zip file containing NUMRECIP.DLL and NUMRECIP.WDF.
Download the NumberRecipes.zip file for Windows NT from the Wonderware Knowledge Base.
NumberRecipes() optimizes the performance of a Recipe Manager application by returning the number of recipes in a template file. This is especially useful if you are using multiple template files.
Number_of_Recipes = NumberRecipes( CSVFileName );
Where NumberRecipes returns the number of recipes in the CSV file to Number_of_Recipes. CSVFileName is a string that contains the CSV path and file name.
NumberRecipes has the following error codes:
|CSVFileName() cannot be found.
|CSVFileName() cannot be accessed.
|NumberRecipes gets a read error during its search for recipes in the CSV file.