Documentation Prolog Predicate Reference builtin halt/1

halt/1

Terminate a Prolog processor and return message.

Description

halt( +int )

halt(X) exits the processor and returns to the system that invoked the processor, passing a message through the X variable. Due to Javascript characteristics, this predicate just stops the search in the database.

Implementation