2.1 Getting started quickly
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • Getting started quickly
          • Starting SWI-Prolog
          • Adding rules from the console
          • Executing a query
          • Examining and modifying your program
          • Stopping Prolog
    • Packages

2.1.5 Stopping Prolog

The interactive toplevel can be stopped in two ways: enter the system end-of-file character (typically Control-D) or by executing the halt/0 predicate:

?- halt.
$