directive

endif/0

Description

endif

Ends conditional compilation for the matching if/1 directive.

Template and modes

endif

Examples

:- if(date::today(_,5,25)).

    :- initialization(write('Happy Towel Day!\n')).

:- endif.

See also

elif/1, else/0, if/1