イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > ストリームの選択と制御 > flush_output/0/1

flush_output/0/1

MINERVA
ifcomputer logo
f
Expert Services on the Web

現在出力ストリームに溜っている情報をフラッシュする。

flush_output
flush_output(+ストリーム)

flush_output は、現在出力ストリームに溜っている情報をフラッシュする。 flush_output(ストリーム) は、出力ストリームストリームに溜っている情報をフラッシュする。

引数

ストリーム                 出力ストリーム

loop :-
	repeat,
		write(user_output, '?- '), flush_output(user_output),
		read(user_input, Term),
	( Term == end_of_file ; call(Term), fail ),
	!.

標準

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

関連

at_end_of_stream/0/1, close/1/2, current_error/1, current_input/1, current_output/1, open/3/4, set_error/1, set_input/1, set_output/1.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/stream_selection/flush_output/print_jp.html
published 2008/12/1 update 1998/8/7 (c) 1996-2006 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