現在出力ストリームを設定する。...
移動
次へ 前へ
上へ 最上
参考
at_end_of_stream/0/1
close/1
current_error/1
current_input/1
current_output/1
flush_output/0/1
open/3/4
set_error/1
set_input/1
set_output/1
イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > ストリームの選択と制御 > set_output/1

set_output/1

現在出力ストリームを設定する。

set_output(+ストリーム)

set_outputは、現在出力ストリームをストリームに設定する。 この述語の呼び出し以降、このストリームは、 明示的なストリームの指定のない出力述語によって利用される。

引数

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

つきの例は、ファイル 'test.data'を開け、現在出力ストリームをこのストリームに設定する。

?- open('test.data', write, Stream), set_output(Stream).

標準

この述語は、ISO-Prolog 標準である。

関連

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

続く..
MINERVA
ifcomputer logo
f
Expert Services on the Web
言語
English
Japanese
サーバー
USA
Japan
サイトマップ
索引
目次
全体目次
全体索引
印刷向き
imode
PDA
探索
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/stream_selection/set_output/home_jp.html
published 2008/9/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