Re: importing a library



Bart Demoen wrote:
Reuben Grinberg wrote:
How do I import a library in prolog?

I tried

:- library(terms).

in my source file, but this didn't work.

I'm using Sicstus.

Thanks,
Reuben

Ok, here is one of my fishing lectures:

go to the table of contents of the SICStus manual - html would do
(if you don't have it, find it at www.sics.se)
search the word library
click

first line =
To load a library package Package, you will normally enter a query
...

the dots constitute the fish you want and you have caught now yourself.

Please do not use comp.lang.prolog as a substitute for the manual for simple things.

Cheers

Bart Demoen

Thanks got it now. I was looking through the sicstus manual but was having trouble finding it.
.