イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > 文字入出力 > nl/0/1

nl/0/1

MINERVA
ifcomputer logo
f
Expert Services on the Web

復帰改行文字を出力する。

nl
nl(+ストリーム)

nl/0 は、現在出力ストリームに 復帰改行文字を出力する。

nl/1 は、ストリーム(ストリーム)に復帰改行文字出力する。

引数

ストリーム                 テキスト出力ストリーム

ストリーム S の内容は、abcdefg で、ストリーム位置は、最終文字の後ろにあるとする。.

nl(S). 成功. 現在入力ストリーム は、今 abcdefg\n である。

標準

これらの述語は、ISO-Prolog 標準に含まれる。

関連

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

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/char_io/nl/print_jp.html
published 2012/5/21 update 1997/6/22 (c) 1996-2009 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
戻る> managed with ubiCMS