イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > 項の入出力 > write/1/2

write/1/2

MINERVA
ifcomputer logo
f
Expert Services on the Web

ストリームに項を書く。

write(+項)
write(+ストリーム, +項)

write/1は、現在出力ストリームに単項()を書く。
write/2 は、与えられたストリーム(ストリーム)に単項を書く。
write/1/2 は、アトム あるいは 関数子の名前を引用しない。その述語は、 オプションリスト [quoted(false),numbervars(false),ignore_ops(false)] を持ったwrite_termに一致している。

引数

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

?- write('hello world').
hello world

標準

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

関連

current_op/3, op/3, print/1/2, println/1/2, read/1/2, read_term/2/3, write_canonical/1/2, write_term/2/3, writeq/2.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/term_io/write/print_jp.html
published 2008/11/17 update 1998/8/11 (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