[BACK]Return to misc.texi CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc / parts / builtin

Diff for /OpenXM/src/asir-doc/parts/builtin/misc.texi between version 1.16 and 1.17

version 1.16, 2003/11/27 03:43:37 version 1.17, 2003/12/18 10:26:20
Line 1 
Line 1 
 @comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.15 2003/10/21 05:16:35 takayama Exp $  @comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.16 2003/11/27 03:43:37 ohara Exp $
 \BJP  \BJP
 @node $B$=$NB>(B,,, $BAH$_9~$_H!?t(B  @node $B$=$NB>(B,,, $BAH$_9~$_H!?t(B
 @section $B$=$NB>(B  @section $B$=$NB>(B
Line 16 
Line 16 
 * time::  * time::
 * cputime tstart tstop::  * cputime tstart tstop::
 * timer::  * timer::
   * currenttime::
   * sleep::
 * heap::  * heap::
 * version::  * version::
 * shell::  * shell::
Line 488  for a reply to interruption prompting are added to the
Line 490  for a reply to interruption prompting are added to the
 @table @t  @table @t
 \JP @item $B;2>H(B  \JP @item $B;2>H(B
 \EG @item References  \EG @item References
 @fref{cputime tstart tstop}.  @fref{cputime tstart tstop}, @fref{currenttime}.
 @end table  @end table
   
 \JP @node cputime tstart tstop,,, $B$=$NB>(B  \JP @node cputime tstart tstop,,, $B$=$NB>(B
Line 585  the debug-mode and execute @code{cputime(1)}.
Line 587  the debug-mode and execute @code{cputime(1)}.
 @table @t  @table @t
 \JP @item $B;2>H(B  \JP @item $B;2>H(B
 \EG @item References  \EG @item References
 @fref{time}, @fref{ctrl}.  @fref{time}, @fref{currenttime}, @fref{ctrl}.
 @end table  @end table
   
 \JP @node timer,,, $B$=$NB>(B  \JP @node timer,,, $B$=$NB>(B
Line 596  the debug-mode and execute @code{cputime(1)}.
Line 598  the debug-mode and execute @code{cputime(1)}.
 @table @t  @table @t
 @item timer(@var{interval},@var{expr},@var{val})  @item timer(@var{interval},@var{expr},@var{val})
 \JP :: $B@)8B;~4V$D$-$G7W;;$r<B9T$9$k(B.  \JP :: $B@)8B;~4V$D$-$G7W;;$r<B9T$9$k(B.
 \BEG  \EG :: Compute an expression under the interval timer.
 :: Compute an expression under the interval timer.  
 \E  
 @end table  @end table
   
 @table @var  @table @var
Line 653  interval timer expired (VTALRM)
Line 653  interval timer expired (VTALRM)
 [11]  [11]
 @end example  @end example
   
   \JP @node currenttime,,, $B$=$NB>(B
   \EG @node currenttime,,, Miscellaneouses
   @subsection @code{currenttime}
   @findex currenttime
   
   @table @t
   @item currenttime()
   \JP :: $B8=:_;~9o$r<hF@(B
   \EG :: Get current time.
   @end table
   
   @table @var
   @item return
   \JP 1970$BG/(B1$B7n(B1$BF|(B0$B;~(B0$BJ,(B0$BIC$+$i$N7P2aIC?t(B.
   \EG UNIX time.
   @end table
   
   @itemize @bullet
   
   @item
   \JP @code{currenttime()} $B$O8=:_;~9o$rJV$9(B.  UNIX $B$N>l9g(B, time(3) $B$r8F$s$G$$$k$@$1$G$"$k(B.
   \EG See also time(3) in UNIX manuals.
   
   @end itemize
   
   @example
   [0] currenttime();
   1071639228
   [1]
   @end example
   
   \JP @node sleep,,, $B$=$NB>(B
   \EG @node sleep,,, Miscellaneouses
   @subsection @code{sleep}
   @findex sleep
   
   @table @t
   @item sleep(@var{interval})
   \JP :: $B%W%m%;%9$N<B9T$rDd;_(B
   \EG :: Suspend computation for an interval.
   @end table
   
   @table @var
   @item return
   1
   
   @item interval
   \JP $BDd;_;~4V(B ($B%^%$%/%mIC(B)
   \EG interval (micro second)
   @end table
   
   @itemize @bullet
   
   @item
   \JP @code{sleep()} $B$O(B, $B%W%m%;%9$N<B9T$rDd;_$9$k(B.  UNIX $B$N>l9g(B, usleep $B$r8F$s$G$$$k$@$1$G$"$k(B.
   \EG See also usleep(3) in UNIX manuals.
   
   @end itemize
   
   @example
   [0] sleep(1000);
   1
   [1]
   @end example
   
 \JP @node heap,,, $B$=$NB>(B  \JP @node heap,,, $B$=$NB>(B
 \EG @node heap,,, Miscellaneouses  \EG @node heap,,, Miscellaneouses
 @subsection @code{heap}  @subsection @code{heap}
Line 761  at the activation of @b{Asir}. (@xref{Command line opt
Line 826  at the activation of @b{Asir}. (@xref{Command line opt
 @b{Asir} $B$N%P!<%8%g%s$r<+A3?t$GJV$9(B.  @b{Asir} $B$N%P!<%8%g%s$r<+A3?t$GJV$9(B.
 \E  \E
 \BEG  \BEG
 Command @code{version()} returns the version identification number  @item
 , an integer of @b{Asir} in use.  Command @code{version()} returns the version identification number,
   an integer of @b{Asir} in use.
 \E  \E
 @end itemize  @end itemize
   
Line 860  cyclic        is            r             sugar
Line 926  cyclic        is            r             sugar
 @var{arg0} $B$,%j%9%H(B, $B%Y%/%H%k(B, $B9TNs0J30$N>l9g(B, $BC1$K(B @var{arg0},  @var{arg0} $B$,%j%9%H(B, $B%Y%/%H%k(B, $B9TNs0J30$N>l9g(B, $BC1$K(B @var{arg0},
 @var{arg1}, ... $B$r0z?t$H$7$F(B @var{function} $B$r8F$S=P$7$=$N(B  @var{arg1}, ... $B$r0z?t$H$7$F(B @var{function} $B$r8F$S=P$7$=$N(B
 $B7k2L$rJV$9(B.  $B7k2L$rJV$9(B.
   @item
   @code{map} $B$N0z?t(B @var{function} $B$GM?$($i$l$kH!?t$O(B, $BFbItE*$K$bH!?t$H(B
   $B$7$F<BAu$5$l$F$$$J$1$l$P$J$i$J$$(B.  $B$=$&$G$J$1$l$P(B parse error $B$K$J$k(B.
   $BNc$($P(B @code{map} $B<+?H$d(B @code{car}, @code{cdr} $B$J$I$OFbItE*$K$OH!?t$H(B
   $B$7$F<BAu$5$l$F$$$J$$(B.  $B$7$?$,$C$F(B @code{map} $B$N0z?t$K(B @code{map} $B$r$H(B
   $B$k$3$H$O$G$-$J$$(B.
 \E  \E
 \BEG  \BEG
 @item  @item

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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