/*,,Nodes.xbt -- This shows how to use Yes-No questions to either process or skip nodes.
Also shows how to use a variable for a node number and that node values are floating point.
*/
33,, Starting at node 33.
,, <<<<<
# ,,Note that global variable <fifty-five> can be used both as a node value and a value for addition.
,glo, <fifty-five> 55
,,Showing how nodes work.
,,"YES" (or just 'Enter') takes us to node 55.
,ASKY,NO skips to node 33 or less -- that being node 32.9.
<fifty-five>,add, 4 <fifty-five>
, ,
,, - - - -
,pau,You replied YES. We are at node 55 and added 4 to 55 to get <>.
,,
32.9 ,ASKN,Got back to to node 32.9. Skip to node 22?
,,
,, - - - -
,,You replied NO to skipping to node 22.
,, Still hanging around at node 32.9 and continuing the conversation.
,, This line should be displayed, but nothing to do!
22 ,,
,, - - - -
,pau,Dropped to node 22. We are done. Okay?
|