Randy,
On Tuesday 17 October 2006 00:52, you wrote:
> (Not sure if this request made it to the mailing list, so I'm writing you
> directly.)
Seen it on the list, but forgotten as it didn't hold many clues on what was
wrong.
> I am calling qsave_program(FILENAME), but prolog simply fails at this call.
> The code is something like:
> my_save_command(FILENAME) :- qsave_program(FILENAME).
> Do I need to explicitly load the qsave module? I tried including
Your very unspecific. Fail means `says no'? Error? What error? No
(working) state). Of course, adding a clause like athat won't help.
> :- use_module(qsave_program).
Its defined in the module library(qsave). This should be autoloaded
in a proper installation. *Never* turn the `unknown' flag to `fail',
or the autoloader (and many other features) stop working.
> but it returns a compilation error on this one.
>
> I also tried the following:
> :- predicate_property(qsave_program,X).
>
> X = interpreted
> I would have thought it would say built-in.
No. Its normal library code.
> The manual does not indicate any special requirement to use
> qsave_program/[1,2].
> Can anyone help?
> (I'm running on Windows XP through CYGWIN.)
That may be one problem. The Cygwin version is a bit of a half-crippled
version falling in the middle of the Windows and Unix versions. Its not
maintained well, and except for linking it to C code that must run under
Cygwin, I see no point in it. Run the native Windows version on Windows.
or install Linux and run the native Unix version.
Cheers --- Jan
------------
For further info, please visit http://www.swi-prolog.org/
To unsubscribe, send a plaintext mail with "unsubscribe prolog <e-mail>"
in its body to majordomo_at_science.uva.nl
Received on Tue Oct 17 2006 - 10:56:52 CEST
This archive was generated by hypermail 2.2.0 : Tue Oct 17 2006 - 10:56:52 CEST