BAP Online Manuals : Library Reference : Library by Name : display
Previous: deletefile
Next: enddraw

6.2.42. display

writes its argument to the current output stream

SYNOPSIS

display(Term)

SYNTAX

 display(Term) (i)

ARGUMENTS

void(Term) (i) Term to write

DESCRIPTION

This is a standard prolog built-in. It writes its argument to the current output stream without using the operator declarations. This allows you to check, how the Term is actually constructed. Unbound variables are listed as an underscore character followed by a unique number. Enumeration starts from _1, shared variables get the same number.

EXAMPLE

read(X),
display(X).

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

read , write , put


BAP Online Manuals : Library Reference : Library by Name : display
Previous: deletefile
Next: enddraw