/*,, ButtermilkPancakes.xbt -- How to make and cook bob's buttermilk pancakes.
This is an example of how to use the expert system XbertClass.php.
Author: bob Wedwick
2 ,,* * * * * * * * * * * *
,,In addition to being an example for using the Xbert expert system
,, this gives you instructions for making really good, soft
,, buttermilk pancakes.
# if the batter is already mixed up
4 ,ASKYes,Is the batter already mixed up?
// tell about the appearance of old batter
,,Batter from days before usually has some dark coloring on top.
,,That is yeast, and it is fine; the batter is not spoiled.
,,Just mix it into the batter.
,,It will be a little thinner but is still good.
// skip the recipe by skipping to a node one less.
# batter is not mixed up, give the ingredients
,,You need 10 ingredients and a mixing bowl.
,,This makes enough batter for 6 people, unless they are really hungry.
,, 1 tsp of yeast
,, 1 tsp baking soda
,, 1 tsp baking powder -- crazy but we need all three above
,, 2 eggs
,, 1/4 tsp of salt
,, 2 cups of flour
,, 2 cups of buttermilk
,, 1/3 cup of cooking oil
,, 1/3 cup of luke warm water
,, 1/2 cup sugar
# if some ingredients are missing instruct them run this again later
,ASKNo,Do you have all these ingredients?
,pau,Run this pancake program later when you have all ingredients.
# if ready to mix the batter, here are the steps
4,ASKNo,Are you ready to mix up the batter?
,pau,See you later when you have some time!
# ready to mix
4 ,,* * * *
,,Put water in the bowl and dissolve the yeast in it.
,,Add the eggs, salt and sugar
,,Add oil, baking soda and baking powder
,,Add both cups of flour * and 1/2 cup of buttermilk
,,Stir briefly until it gets lumpy
,,Add another 1/2 cup of buttermilk
,,Stir until it is blended fairly well
,,Add remaining cup of buttermilk
,,Stir until completely blended
,,* Feel free to use whole wheat flour and to add
,, oat bran or flax meal in place of some of the flour.
,, Raisins, cranberries, or chocolate chips are welcome.
# if ready to cook the pancakes
,ASKy,Do you want to cook pancakes now?
# if no batter is left, there is nothing to save
,ASKN,Do you have any batter left over?
# tell how to save the batter
,,The batter will keep in the refrigerator for several days.
,,Keep it in a container that is NOT tightly closed
,pau,so gas can escape.