PHP Classes

File: FlowControlTest.xbt

Recommend this page to a friend!
  Classes of Bob Wedwick   PHP Expert System Engine   FlowControlTest.xbt   Download  
File: FlowControlTest.xbt
Role: Auxiliary data
Content type: text/plain
Description: Xbert class
Class: PHP Expert System Engine
Ask questions and make decisions based on answers
Author: By
Last change:
Date: 7 years ago
Size: 1,836 bytes
 

Contents

Class file image Download
,,"/* FlowControlTest.xbt -- A test file for user responses for XbertClass.php." " The user does not see these multi-line comment lines.",, " Other single line comments are included in this test.",, " They include using // ; # and blank lines and lines not having three columns.",, ,,"*/" " " " ",,"By default, we start at node 1." " ",,"If you answer NO now, we skip the whole test." " ","askyes","Continue?" "# ",," This is a single comment line. The next node becomes 2 due to the ++" "++ ",," - - - - - -" " ",,"Continuing with node 2 but pass immediately to node 3." " ",,"The Yes/No replies only look at the 1st character which is not case sensitive." " ",,"If you answer any question with ""abort"" processing stops immediately." "// ",,"Totally blank lines like that above make it easier to read the rule set and are ignored." "; ",,"Totally blank lines are hard to create from a spreadsheet." "++ ",,"---" " ","ASKyes","Now at node 3. Advance higher?" "++ ",,"----" " ",,"Response to node 3 was YES." " ",,"We moved to node 4." " ",," Had the response been NO, this would not display." " ","ASKNo","Do you want to skip node 5?" "5 ",," -----" " ",,"Response was NO, so we moved to node 5." " ",,"Had the response been YES, this would not display." "#",," commented out so we do not process this line." " ","pause","Now at node 5. No reply is needed." "4 ",,"----" " ",,"If response was NO at node 3, this would not display." " ",,"Either YES or NO at the prior node 4 eventually gets us here." " ","pau","Passing through node 4." " ","fal"," 2" "3 ",,"---" " ","pau","Stayed at node 3. Let's keep going..." "2 ",,"--" " ",,"Back to node 2." " ",," ---Almost done.---" " ","ASK","You can answer with any message. How did you like this?" " ",,"---" " ","pau","You really said ""<>""!!!"