문제

I am wondering if there is an equivalent of the SWI initialization file "~/.plrc" in YAP. I would like to define some directories with: file_search_path/2 before loading YAP, but I do not know where to do it.

Any help will be highly appreciated!.

도움이 되었습니까?

해결책

In my .yaprc

:- multifile(library_directory/1).
library_directory('~/ftp/Prolog-inedit').
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top