=================================================================== RCS file: /home/cvs/OpenXM/src/asir-doc/parts/builtin/io.texi,v retrieving revision 1.6 retrieving revision 1.9 diff -u -p -r1.6 -r1.9 --- OpenXM/src/asir-doc/parts/builtin/io.texi 2001/03/12 05:01:18 1.6 +++ OpenXM/src/asir-doc/parts/builtin/io.texi 2002/09/03 01:50:59 1.9 @@ -1,4 +1,4 @@ -@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/io.texi,v 1.5 2000/11/13 00:16:36 noro Exp $ +@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/io.texi,v 1.8 2002/07/15 01:58:24 takayama Exp $ \BJP @node 入出力,,, 組み込み函数 @section 入出力 @@ -96,7 +96,7 @@ line of the input file is strongly recommended. @itemize @bullet \BJP @item -実際のプログラムの書き方は, @xref{ユーザ言語 Asir}. +実際のプログラムの書き方は, @pxref{ユーザ言語 Asir}. テキストファイルを読み込む場合, @code{cpp} を通すので, C のプログラム同様 @code{#include}, @code{#define} を使うことができる. @item @@ -121,7 +121,7 @@ Windows 版もディレクトリのセパレータとして @samp \E \BEG @item -@xref{User language Asir} for practical programming. +See @ref{User language Asir} for practical programming. Since text files are read through @code{cpp}, the user can use, as in C programs, @code{#include} and @code{#define} in @b{Asir} program source codes. @@ -140,7 +140,7 @@ On Windows, @code{get_rootdir()/lib} is searched if We recommend to write an @code{end} command at the last line of your program. If not, @b{Asir} will not give you a prompt after it will have executed @code{load} command. -(Escape with an interrupt character (@pxref{Interruption}), +(Escape with an interrupt character (@ref{Interruption}), if you have lost yourself.) Even in such a situation, @b{Asir} itself is still ready to read keyboard inputs as usual. @@ -555,9 +555,9 @@ xyz123gahaha @item get_byte(@var{num}) \JP :: 識別子 @var{num} のファイルから 1 バイト読む. \EG :: Reads a byte from the file indicated by a descriptor @var{num}. -@item put_byte(@var{num}) -\JP :: 識別子 @var{num} のファイルに 1 バイト書く. -\EG :: Writes a byte to the file indicated by a descriptor @var{num}. +@item put_byte(@var{num},@var{c}) +\JP :: 識別子 @var{num} のファイルに 1 バイト @var{c} を書く. +\EG :: Writes a byte @var{c} to the file indicated by a descriptor @var{num}. @item purge_stdin() @item purge_stdin() \JP :: 標準入力のバッファをクリアする. @@ -606,7 +606,7 @@ xyz123gahaha @item @code{open_file()} opens a file. If @var{mode} is not specified, a file is opened for reading. If @var{mode} is specified, it is used as the mode specification for -C standard I/O function {\tt fopen()}. For example @code{"w"} requests +C standard I/O function @code{fopen()}. For example @code{"w"} requests that the file is truncated to zero length or created for writing. @code{"a"} requests that the file is opened for writing or created if it does not exist.