[BACK]Return to exp-ja.texi CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc / exp

Diff for /OpenXM/src/asir-doc/exp/exp-ja.texi between version 1.27 and 1.28

version 1.27, 2008/11/11 08:18:50 version 1.28, 2008/11/19 03:25:38
Line 1 
Line 1 
 %% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.26 2008/01/29 05:42:05 takayama Exp $  %% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.27 2008/11/11 08:18:50 ohara Exp $
 \input texinfo  \input texinfo
 @iftex  @iftex
 @catcode`@#=6  @catcode`@#=6
Line 122  ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe
Line 122  ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe
 * small_jacobi::  * small_jacobi::
 * flatten_quote::  * flatten_quote::
 * printf::  * printf::
   * fprintf::
 * sprintf::  * sprintf::
 * quote_to_funargs::  * quote_to_funargs::
 * funargs_to_quote::  * funargs_to_quote::
Line 1228  ChangeLog
Line 1229  ChangeLog
   
   
 @node sprintf,,, $B<B83E*;EMM$N4X?t(B  @node sprintf,,, $B<B83E*;EMM$N4X?t(B
 @subsection @code{printf}, @code{sprintf}  @subsection @code{printf}, @code{fprintf}, @code{sprintf}
 @findex sprintf  @findex sprintf
   
 @table @t  @table @t
 @item printf(@var{format}[,@var{args}])  @item printf(@var{format}[,@var{args}])
   @item fprintf(@var{fd},@var{format}[,@var{args}])
 @item sprintf(@var{format}[,@var{args}])  @item sprintf(@var{format}[,@var{args}])
 :: C $B$K;w$?%W%j%s%H4X?t(B  :: C $B$K;w$?%W%j%s%H4X?t(B
 @end table  @end table
   
 @table @var  @table @var
 @item return  @item return
 $B@0?t(B(printf), $BJ8;zNs(B(sprintf)  $B@0?t(B(printf,fprintf), $BJ8;zNs(B(sprintf)
 @item format  @item format
 $BJ8;zNs(B  $BJ8;zNs(B
   @item fd
   $BHsIi@0?t(B($B%U%!%$%k5-=R;R(B)
 @item args  @item args
 $B%*%V%8%'%/%H(B  $B%*%V%8%'%/%H(B
 @end table  @end table
Line 1250  ChangeLog
Line 1254  ChangeLog
 @item  @item
 @code{printf} $B$O=q<0J8;zNs(B @var{format } $B$K$7$?$,$$(B, $B%*%V%8%'%/%H(B @var{args} $B$rI8=`=PNO$K=q$-=P$9(B.  @code{printf} $B$O=q<0J8;zNs(B @var{format } $B$K$7$?$,$$(B, $B%*%V%8%'%/%H(B @var{args} $B$rI8=`=PNO$K=q$-=P$9(B.
 @item  @item
   @code{fprintf} $B$O7k2L$r(B, $B%U%!%$%k5-=R;R(B @var{fd} $B$N;X$9%U%!%$%k$K=q$-=P$9(B.
   @item
 @code{sprintf} $B$O7k2L$rJ8;zNs$GJV$7(B, $BI8=`=PNO$K$O=q$-=P$5$J$$(B.  @code{sprintf} $B$O7k2L$rJ8;zNs$GJV$7(B, $BI8=`=PNO$K$O=q$-=P$5$J$$(B.
 @item  @item
 $B=q<0J8;zNs$NCf$G(B @code{%a} (any) $B$,MxMQ2DG=(B.  $B=q<0J8;zNs$NCf$G(B @code{%a} (any) $B$,MxMQ2DG=(B.
 @var{args} $B$N8D?t$O=q<0J8;zNs$NCf$N(B @code{%a} $B$N8D?t$KEy$7$/$9$k$3$H(B.  @var{args} $B$N8D?t$O=q<0J8;zNs$NCf$N(B @code{%a} $B$N8D?t$KEy$7$/$9$k$3$H(B.
   @item
   $B%U%!%$%k5-=R;R$O(B, @code{open_file} $B4X?t$rMQ$$$FF@$k$3$H(B.
 @end itemize  @end itemize
   
 @example  @example
Line 1262  ChangeLog
Line 1270  ChangeLog
 [1] S=sprintf("%a: rat = %a",20,x^2-1)$  [1] S=sprintf("%a: rat = %a",20,x^2-1)$
 [2] S;  [2] S;
 20: rat = x^2-1  20: rat = x^2-1
   [3] Fd=open_file("hoge.txt","w");
   0
   [4] fprintf(Fd,"Poly=%a\n",(x-1)^3)$
   [5] close_file(Fd)$
   [6] quit;
   
   $ cat hoge.txt
   Poly=x^3-3*x^2+3*x-1
 @end example  @end example
   
 @table @t  @table @t
 @item $B;2>H(B  @item $B;2>H(B
 @ref{rtostr}  @ref{rtostr},@ref{open_file},@ref{close_file}
 @end table  @end table
   
 @comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B  @comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
Line 1280  ChangeLog
Line 1296  ChangeLog
 @item  @item
  $B4X?t(B printf$B$O(B 2007-11-8 $B$K%3%_%C%H$5$l$?(B.   $B4X?t(B printf$B$O(B 2007-11-8 $B$K%3%_%C%H$5$l$?(B.
  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/print.c (1.23) $B$G$"$k(B.   $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/print.c (1.23) $B$G$"$k(B.
   @item
    $B4X?t(B fprintf$B$O(B 2008-11-18 $B$K%3%_%C%H$5$l$?(B.
    $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/file.c (1.25) $B$G$"$k(B.
 @item  @item
  @code{%a} $B$O(B Maple $B$N(B sprintf $B$N??;w$+(B.   @code{%a} $B$O(B Maple $B$N(B sprintf $B$N??;w$+(B.
 @end itemize  @end itemize

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>