Previous: Initializing the Prolog Engine, Up: User-defined Main Programs [Contents][Index]
You can load your Prolog code with the call SP_load()
.
This is the C equivalent of the Prolog predicate load_files/1
.
Alternatively, you can restore a saved state with the call
SP_restore()
, which is the C equivalent of the Prolog
predicate restore/1
.