Recipe Limit

<< Click to Display Table of Contents >>

Navigation:  Recipes >

Recipe Limit

Previous pageReturn to chapter overviewNext page

 

The list of Recipes in the Recipe Manager box can be limited (restricted) to a list of Recipe names that contain a specific piece of text (sub-string).

 

For example if there were 6 Recipe names listed:

Widgets_ZoneA

Gromets_ZoneA

Eyelets_ZoneA

Widgets_ZoneB

Gromets_ZoneB

Eyelets_ZoneB

 

But if only the 'ZoneA' ones were needed to be listed in the Recipe Manager box for a specific GDW, called for example: test.gd3, then:

 Create a Text User Variable called, for example, LimitingSubString.

 Then in SETTINGS.INI (which is in the Project's sub-folder), add these lines:

         [RecipeLimitStrings]

         test.GD3=LimitingSubString  

         IgnoreCase=y

 

Then set the text variable LimitingSubString to 'ZoneA' then only these will be listed:

Widgets_ZoneA

Gromets_ZoneA

Eyelets_ZoneA

 

RecipeLimits1

 

Similarly, if the text variable LimitingSubString was set to 'Widgets' then only these would be listed:

Widgets_ZoneA

Widgets_ZoneB

 

If the Text User Variable which is being used does not contain a sub-string that matches any of the Recipe names then this error will be displayed:

 

RecipeLimits2