BAP Online Manuals : Library Reference : Library by Name : nl
Previous: new_handle
Next: nonvar

6.2.88. nl

writes a carriage- return, newline character

SYNOPSIS

INCLUDE 'iolib.h'
write("Hello World\n"), nl

SYNTAX

nl

ARGUMENTS

(none)

DESCRIPTION

This is a standard prolog built-in. Writes a carriage-return, newline to the current output stream.
Defined as:

PREDICATE nl.
nl:- write("\n").

EXAMPLE

read(X),
write(X),nl.

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

write


BAP Online Manuals : Library Reference : Library by Name : nl
Previous: new_handle
Next: nonvar