sitelogo
set_error/1

現在エラーストリームを設定する。

set_error(+ストリーム)

set_errorは、現在エラーストリームをストリームに設定する。

引数

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

以下の例は、現在エラーストリームを現在出力ストリームと同じストリームに設定する。

?- current_output(S), set_error(S).

標準

この述語は、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_input/1, set_output/1.


戻る 続く..
冒頭へ managed with ubiCMS