public final class Consult extends AbstractSingleResultPredicate
consult(X) - reads clauses and goals from a file.
consult(X) reads clauses and goals from a file. X must be instantiated to the name of a
text file containing Prolog clauses and goals which will be added to the knowledge base.
| Constructor and Description |
|---|
Consult() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
evaluate(Term arg) |
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAlwaysCutOnBacktrackprotected boolean evaluate(Term arg)
evaluate in class AbstractSingleResultPredicateCopyright © 2024. All rights reserved.