Home Contents Index Summary Previous Next

2.3 Initialisation goals

After loading the startup file SWI-Prolog executes a user initialisation goal. The default goal is a system predicate that prints the banner message. The default can be modified with the `-g goal' option. Next the toplevel goal is started. Default is the interactive Prolog loop (see prolog/0). The user can overwrite this default with the `-t toplevel' option.