elif/1¶
elif(+ Goal)*
Equivalent to :- 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.
elif(+ Goal)*
Equivalent to :- 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.