| Did you know ... | Search Documentation: |
| Predicate open_source_hook/3 |
prolog:open_source_hook(+Path,
-Stream, +Options)open(Path, read, Stream). Options provide the
options as provided to load_files/2.
If the hook succeeds compilation continues by loading from the returned
(input) stream. This hook is particularly suited to support running the
code to a preprocessor. See also
prolog_load_file/2.