[Next] [Previous] [Up] [Top] [Contents]

Section 2 - Modules, Time Levels and Lists

2.9 Saving and loading rules


All this will mean that we have to move the rules in the setup week category of the Content rulebase to the Initial iteration rulebase. We can easily do this using SDML's facility for saving and loading rules.

Select the setup week category of the Content rulebase and use the command button in the Categories: pane to select the setup week category then select save rules in category and edit the default expression to read setweek.rb and accept it. Then use the remove category command in the Categories: pane to remove the category setup week.

Now go to the Initial iteration rulebase and use the load rules command in the Rule names: pane to read the setweek.rb file back in. In the Initial week rule base use the load rules command to load in the previously prepared setup.rb file. These hold rules to set parameters for the producers and consumers.


An introduction to SDML - Bruce Edmonds - 13 JUL 99
[Next] [Previous] [Up] [Top] [Contents]

Generated with CERN WebMaker