开发者

How loading file in Prolog?

开发者 https://www.devze.com 2023-03-10 21:41 出处:网络
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.

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

精彩评论

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