Do Action
The do action simply transfers control to a new section. The do action enables 'data-driven' search to be carried out between sections. In the AI litterature this is also referred to as 'forward chaining'. The syntax for the do action is:
<do> ::= do <section-name>
Examples
section start 'first section to be executed'
if answer = 'yes' (do positive_section, do next_section)
if answer = 'no' do negative_section
Depending on the value of the parameter answer, control is transferred to either positive_section followed by next_section, if the answer was yes; or to the negative_section, if the answer was no.