succeeds exactly once.
true/0 succeeds exactly once.
| write('this is going to succeed'), true. | Succeeds with output on the current outputstream 'this is going to succeed'. |
| integer(a),true. | Fails. |
This predicate is part of the ISO-Prolog Standard.
| scroll to top |
|