| Did you know ... | Search Documentation: | 
|  | Predicate elif/1 | 
 :- elif(:Goal)
:- elif(:Goal):- else. :-if(Goal). ... :- endif. 
In a sequence as below, the section below the first matching elif 
is processed. If no test succeeds, the else branch is processed.
:- if(test1). section_1. :- elif(test2). section_2. :- elif(test3). section_3. :- else. section_else. :- endif.