How to import .pl file on SWI PROLOG? -


i downloaded swi prolog mac, , reason there's no 'import' button in menu bar. so, wondering if there's way import .pl file using code maybe, , how can include path of .pl file in code.

thank in advance :)

you can use consult command under file menu.

from query prompt (?-), can put path file string inside of square brackets:

?- ['~/desktop/my_pgm.pl']. 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -