Skip to main content

Command: Save Recipe

Symbol: _cds_icon_save_recipe.png

Function: The command saves the values of the variables of a recipe to a file.

Call: Recipes menu

Requirement: You have selected the value of a recipe in the recipe definition.

The command is executed, the values of the selected recipe are saved to a file. You can define the format in the Recipe Manager settings on the Storage tab.

For variables of type REAL or LREAL, a distinction is made whether or not the value is exactly convertible.

  • If it is possible to convert the value exactly, then only the numerical value is saved in the recipe file.

  • If exact conversion is not possible, then a hexadecimal encoded string is written in the recipe file next to the numeric value. This should have the effect that also a non-convertible floating-point number returns the same value.

  • This feature can be disabled with the RECIPE_GENERATE_SIMPLE_STRINGREAL compiler define.

For more information, see: Using Recipes to Set Values