Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
RDF quality heuristics
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
4.3.1.2 Conditional compilation
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Built-in Predicates
Loading Prolog source files
Conditional compilation and program transformation
Conditional compilation
if/1
elif/1
else/0
endif/0
Packages
:-
if
(
:Goal
)
Compile subsequent code only if
Goal
succeeds. For enhanced portability,
Goal
is processed by
expand_goal/2
before execution. If an error occurs, the error is printed and processing proceeds as if
Goal
has failed.
ClioPatria
(version
V3.1.1-40-g9d9e003
)