How loading file in Prolog?
I have a file, name: "file1.pl" in c:/.
Now I want to load the file into the prolog, and then ask a query about the procedure and the relations that I defined.
as I understood, I need to do the next stpes:
file -> edit.
file -> reload modified files.
file -> Navigator to view file and procedre.
When I an doing these steps, Nothing is happen. When I ask the que开发者_StackOverflow社区ry, It gives me the next problem: toplevel: Undefined procedure: blabla/2 (DWIN couldnt correct goal)
Thank you.
Try doing consult(filename)
. Extension might or might not be needed.
精彩评论