Simple question - XSB Prolog
- by KP65
Hello!
I'm diving into the world of prolog headfirst but I seem to have hit shallow water!
I'm looking at database manipulation in prolog with regards to this tutorial:Learn Prolog Now!
It states that I can see my database by entering listing
So i tried it and it should basically output everything in my .P file(facts, rules), but this is what i get, here are my sequence of commands:
? consult('D:\Prolog\testfile.P').
[testfile.P loaded]
? listing.
library_directory(C:blahblahpathtoXSB)
library_directory(C:blahblahXSBpath)
{this is listed around 5 times)}
shouldn't this command display what is in testfile.P, according to the tutorial?
also, after consult testfile.P i should be ableto use assert to add more facts but it doesnt actually change anything in the testfile.P..?
any ideas