/* ,, SymbolicLevel.xbt - symbolic level testing for XbertClass.php.
<escape> is set to a value of 3 to be used as a node value.
<five> is also a node value, and the ++ operator is demonstrated
*/,,
# a global variable used for a message.
2 ,glob, <xx> You must like it here.
# set a symbolic level to the escape point
,loc, <escape> 3
,loc, <five> 5
,,
,, -----
<five>,askn, Do you want to get away to an exciting place?
,, - - -
,,You answered NO to the above.
++,asky,You have a second chance to get away?
,, -- --
,pau,Well okay, but I had to ask twice!!
,fall, <five> to bypass the next message
6 ,pau,You still answered NO!!! <xx>
,fal, <escape> to go to the escape node
,,
<five>,, * * * *
,,So you DO want to get away! Me too.
,pau, Good Choice! Have a nice trip!
,end, ends this rule set now.
<escape>,,----
# the conclusion is that you have no sense of adventure
,con,You have no sense of adventure!!!
,,This fell to the escape node <escape>. What else can I say?
,pau,====
|