outputs the newline-character....
Move to
=> <=
Darueber Spitze
See also
get_char/1/2
get_code/1/2
nl/0/1
peek_char/1/2
peek_code/1/2
put_char/1/2
put_code/1/2
IF Computer > MINERVA > Manual > Reference > Predicates > Character input/output > nl/0/1

nl/0/1

outputs the newline-character.

nl
nl(+Stream)

nl/0 outputs the newline-character at the current outputstream.

nl/1 outputs the newline-character at the stream named in the first argument (Stream).

Arguments

Stream                 text output stream

Examples

Assume the content of a stream S is abcdefg and the stream position is behind the last character.

nl(S). Succeeds. The current inputstream is now abcdefg\n

Standard

These predicates are part of the ISO-Prolog Standard.

See also

get_char/1/2, get_code/1/2, peek_char/1/2, peek_code/1/2, put_char/1/2, put_code/1/2.

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Sprache
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/char_io/nl/home_de.html
published 2008/10/6 update 1997/6/22 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS