users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question


From: Humberto Gomez Solis
Subject: Re: Question
Date: Thu, 16 Jan 2003 17:00:01 -0800 (PST)

Thank you for your reply. What I really want to know (and I have not see
it in the documentation) is whether I can instruct GNU Prolog to consult a
file and execute a query (all from the command line). That is why I used
the following example:

        gprolog my_file.pl 'my_query(X)'

Thank you,
Humberto

Date: Thu, 16 Jan 2003 21:58:08 +0100
From: Daniel Diaz <address@hidden>
To: Humberto Gomez Solis <address@hidden>
Cc: address@hidden
Subject: Re: Question

First of all this question should be posted to address@hidden

You can use:
   gprolog --query-goal 'some_query(X)'

there are other options (--init-goal and --entry-goal).
(try gprolog --help).

More documentation can be found at:

http://gnu-prolog.inria.fr/manual/manual006.html





reply via email to

[Prev in Thread] Current Thread [Next in Thread]