loading files in prolog

Posted by cubearth on Stack Overflow See other posts from Stack Overflow or by cubearth
Published on 2010-12-21T03:18:04Z Indexed on 2014/06/07 9:25 UTC
Read the original article Hit count: 278

Filed under:
|

hey guys, am a bit of a newbie in Prolog. And am going thru this tutorial on line and it is telling me i can load other prolog files by typing:

[filename].

but ever time I try this am getting

ERROR: load_files/2: Arguments are not sufficiently instantiated.

What am i doing wrong?

P.S. the file is in the same directory as the one am working in.

and here is a copy of the entire query and error.

12 ?- [KB5].

ERROR: load_files/2: Arguments are not sufficiently instantiated

© Stack Overflow or respective owner

Related posts about prolog

Related posts about swi-prolog