version 1.26, 2008/01/29 05:42:05 |
version 1.27, 2008/11/11 08:18:50 |
|
|
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.25 2008/01/26 00:59:47 takayama Exp $ |
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.26 2008/01/29 05:42:05 takayama Exp $ |
\input texinfo |
\input texinfo |
@iftex |
@iftex |
@catcode`@#=6 |
@catcode`@#=6 |
Line 121 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
Line 121 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
* set_print_function:: |
* set_print_function:: |
* small_jacobi:: |
* small_jacobi:: |
* flatten_quote:: |
* flatten_quote:: |
|
* printf:: |
* sprintf:: |
* sprintf:: |
* quote_to_funargs:: |
* quote_to_funargs:: |
* funargs_to_quote:: |
* funargs_to_quote:: |
Line 143 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
Line 144 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
* asirgui.hnd:: |
* asirgui.hnd:: |
* noro_matrix.rr: |
* noro_matrix.rr: |
* f_res:: |
* f_res:: |
|
* chdir:: |
|
* pwd:: |
|
* dcurrenttime:: |
|
|
|
|
@end menu |
@end menu |
|
|
@comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B |
@comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B |
|
|
|
|
|
|
@node sprintf,,, $B<B83E*;EMM$N4X?t(B |
@node sprintf,,, $B<B83E*;EMM$N4X?t(B |
@subsection @code{sprintf} |
@subsection @code{printf}, @code{sprintf} |
@findex sprintf |
@findex sprintf |
|
|
@table @t |
@table @t |
|
@item printf(@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 |
$BJ8;zNs(B |
$B@0?t(B(printf), $BJ8;zNs(B(sprintf) |
@item format |
@item format |
$BJ8;zNs(B |
$BJ8;zNs(B |
@item args |
@item args |
|
|
|
|
@itemize @bullet |
@itemize @bullet |
@item |
@item |
$B%U%)!<%^%C%HJ8;zNs(B @var{format } $B$K$7$?$,$$(B @var{args} $B$rJ8;zNs$KJQ49$9$k(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 |
$B%U%)!<%^%C%HJ8;zNs$NCf$K(B @code{%a} (any) $B$,MxMQ2DG=(B. |
@code{sprintf} $B$O7k2L$rJ8;zNs$GJV$7(B, $BI8=`=PNO$K$O=q$-=P$5$J$$(B. |
@var{args} $B$N8D?t$O%U%)!<%^%C%HJ8;zNs$NCf$N(B @code{%a} $B$N8D?t$KEy$7$/$9$k$3$H(B. |
@item |
|
$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. |
@end itemize |
@end itemize |
|
|
@example |
@example |
[0] sprintf("%a: rat = %a",10,x^2-1); |
[0] printf("%a: rat = %a\n",10,x^2-1)$ |
10: rat = x^2-1 |
10: rat = x^2-1 |
|
[1] S=sprintf("%a: rat = %a",20,x^2-1)$ |
|
[2] S; |
|
20: rat = x^2-1 |
@end example |
@end example |
|
|
@table @t |
@table @t |
|
|
ChangeLog |
ChangeLog |
@itemize @bullet |
@itemize @bullet |
@item |
@item |
$B$3$N4X?t$O(B 2004-7-13 $B$K%3%_%C%H$5$l$?(B. |
$B4X?t(B sprintf$B$O(B 2004-7-13 $B$K%3%_%C%H$5$l$?(B. |
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/strobj (1.50) $B$G$"$k(B. |
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/strobj (1.50) $B$G$"$k(B. |
@item |
@item |
|
$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. |
|
@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 |
|
|
|
|
@item OpenXM/src/ox_cdd, OpenXM/src/asir-contrib/packages/src/f_res.rr |
@item OpenXM/src/ox_cdd, OpenXM/src/asir-contrib/packages/src/f_res.rr |
@end itemize |
@end itemize |
|
|
|
|
|
@node chdir,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{chdir}, @code{pwd} |
|
@findex chdir |
|
@findex pwd |
|
|
|
@comment --- $B%G%#%l%/%H%jA`:n(B --- |
|
@table @t |
|
@item chdir(@var{directory}) |
|
@item pwd() |
|
:: $B%7%'%k%3%^%s%I(B cd $B$H(B pwd $B$KBP1~$9$kA`:n(B. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
$BJ8;zNs(B(@code{pwd}), $B@0?t(B(@code{chdir}) |
|
@item dirctory |
|
$BJ8;zNs(B |
|
@end table |
|
|
|
@itemize @bullet |
|
@item |
|
@code{pwd} $B$O%+%l%s%H%G%#%l%/%H%j$rJ8;zNs$GJV$9(B. |
|
@item |
|
@code{chdir} $B$O%+%l%s%H%G%#%l%/%H%j$r(B @var{directory} $B$KJQ99$9$k(B. $B@.8y$9$l$P(B 0 $B$r<:GT$9$l$P(B -1 $B$rJV$9(B. |
|
@item |
|
$B$3$l$i$N4X?t$O(B UNIX $BHG$K$N$_<BAu$5$l$F$$$k(B. |
|
@end itemize |
|
|
|
@example |
|
[0] S=pwd(); |
|
/home/ohara |
|
[1] chdir(".../taka"); |
|
-1 |
|
[2] chdir("/usr/bin"); |
|
0 |
|
@end example |
|
|
|
@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 --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit. |
|
@noindent |
|
ChangeLog |
|
@itemize @bullet |
|
@item |
|
$B$3$l$i$N4X?t$O(B 2008-8-27 $B$K%3%_%C%H$5$l$?(B. |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/miscf.c (1.27) $B$G$"$k(B. |
|
@end itemize |
|
|
|
|
|
@node dcurrenttime,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{dcurrenttime} |
|
@findex dcurrenttime |
|
|
|
@comment --- $B8=:_;~9o$r<hF@(B --- |
|
@table @t |
|
@item dcurrenttime() |
|
:: $B8=:_;~9o$r<hF@(B. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
$BIbF0>.?tE@?t(B |
|
@end table |
|
|
|
@itemize @bullet |
|
@item |
|
$BJV$jCM$O(B1970$BG/(B1$B7n(B1$BF|(B0$B;~(B0$BJ,(B0$BIC$+$i$N7P2aIC?t$G$"$k(B. |
|
@end itemize |
|
|
|
@example |
|
[0] ctrl("real_digit", 16); |
|
16 |
|
[1] dcurrenttime(); |
|
1226390851.34476 |
|
[2] currenttime(); |
|
1226390854 |
|
@end example |
|
|
|
@table @t |
|
@item $B;2>H(B |
|
@ref{currenttime} |
|
@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 --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit. |
|
@noindent |
|
ChangeLog |
|
@itemize @bullet |
|
@item |
|
$B$3$N4X?t$O(B 2008-9-12 $B$K%3%_%C%H$5$l$?(B. |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/time.c (1.6) $B$G$"$k(B. |
|
@end itemize |
|
|
@comment ----------- $B0J2<$O8+K\(B. $B>C$9$J(B. |
@comment ----------- $B0J2<$O8+K\(B. $B>C$9$J(B. |
@comment **************************************************************** |
@comment **************************************************************** |