BAP Online Manuals : Library Reference : Library by Name : write
Previous: wintitle
Next: writedevice

6.2.139. write

writes its argument to the current output stream

SYNOPSIS

INCLUDE 'iolib.h'
write(Term)

SYNTAX

 write(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 using the current operator declarations. 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),
write(X).

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

read , display , put


BAP Online Manuals : Library Reference : Library by Name : write
Previous: wintitle
Next: writedevice