Next: , Previous: ref-fdi-fsp-def, Up: ref-fdi-fsp Frequently Used File Specifications

Frequently used user:file_search_path/2 facts are best defined using the initialization file ~/.sicstusrc or ~/sicstus.ini, which is consulted at startup time by the Development System. Therefore, with reference to the examples from ref-fdi-fsp-def, clauses like the one following should be placed in the initialization file so that they are automatically available to user programs after startup:

     :- multifile user:file_search_path/2.
     user:file_search_path(home, '/usr/jackson').
     user:file_search_path(sp_directory, home('prolog/sp')).
     user:file_search_path(demo, 'etc/demo').

Send feedback on this subject.