开发者

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:

  1. file -> edit.

  2. file -> reload modified files.

  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜