public final class SetInput extends AbstractSingleResultPredicate
set_input(X)
- sets the current input.
set_input(X)
sets the current input to the stream represented by X
.
X
will be a term returned as the third argument of open
, or the atom
user_input
, which specifies that input to come from the keyboard.
Constructor and Description |
---|
SetInput() |
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, setKnowledgeBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAlwaysCutOnBacktrack
protected boolean evaluate(Term arg)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.