ストリームに1コードを出力する。...
移動
次へ 前へ
上へ 最上
参考
get_char/1/2
get_code/1/2
nl/0/1
peek_char/1/2
peek_code/1/2
put_char/1/2
put_code/1/2
イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > 文字入出力 > put_code/1/2

put_code/1/2

ストリームに1コードを出力する。

put_code(+コード)
put_code(+ストリーム, +コード)

put_code/1 は、現在出力ストリームに1コードを出力する。

put_code/2 第1引数の名前のストリームに1コードを出力する。

引数

ストリーム               出力テキストストリーム
コード                   整数 (文字コード)

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

put_code(S, 0'h). 成功. ストリーム S の内容は、abcdefghである。

標準

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

関連

get_char/1/2, get_code/1/2, peek_char/1/2, peek_code/1/2, put_char/1/2, nl/0/1, current_output/1, set_output/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/char_io/put_code/home_jp.html
published 2008/7/7 update 2001/8/28 (c) 1996-2006 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 ifcj@ifcomputer.co.jp
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
冒頭へ managed with ubiCMS