
edinburgh.pl -- Some traditional Edinburgh predicates
This module defines predicates from `traditional Edinburgh Prolog'
(Dec10 and C-Prolog) whose functionality has been replaced by (ISO)
Standard Prolog.
display(+Term) is det
display(+Stream, +Term) is det- Write a term, ignoring operators.
- deprecated
- - New code must use write_term/3 using the option
ignore_ops(true)
.
unknown(-Old, +New) is det- Edinburgh Prolog predicate for dealing dealing with undefined
procedures
reconsult(+FileOrList) is det- Load source
file(s)
, wiping the old content first. SWI-Prolog's
consult/1 and related predicates always do this.
- deprecated
- - The Edinburgh Prolog consult/reconsult distinction
is no longer used throughout most of the Prolog world.
debug is det
nodebug is det- Switch on/off debug mode. Note that nodebug/0 has been defined
such that is is not traced itself.
fileerrors(-Old, +New) is det- Query and change the fileerrors flag. Default it is set to
true
, causing file operations to raise an exception. Setting
it to false
activates the old Edinburgh mode of silent
failure.
- deprecated
- - New code should use catch/3 to handle file errors
silently
display(+Term) is det
display(+Stream, +Term) is det- Write a term, ignoring operators.
- deprecated
- - New code must use write_term/3 using the option
ignore_ops(true)
.
debug is det
nodebug is det- Switch on/off debug mode. Note that nodebug/0 has been defined
such that is is not traced itself.