Class SetInput

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.io.SetInput
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

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.