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:
|-1||CSVFileName() cannot be found.|
|-2||CSVFileName() cannot be accessed.|
|-3||NumberRecipes gets a read error during its search for recipes in the CSV file.|
Hi. Is there any way I can convert an integer into String(message) because I will use the int tag as a recipe name incrementing the tag and add it to the recipe manager but the script on saving recipe name only accept String or message.
Just use ‘StringFromIntg’ to convert an integer to string, this function is a build-in function for Intouch.