[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.5 and 1.8

version 1.5, 2000/01/31 05:52:05 version 1.8, 2001/07/23 02:28:17
Line 1 
Line 1 
 @comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.4 1999/12/24 04:38:06 noro Exp $  @comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.7 2001/03/12 05:01:18 noro 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 15 
Line 15 
 * help::  * help::
 * time::  * time::
 * cputime tstart tstop::  * cputime tstart tstop::
   * timer::
 * heap::  * heap::
 * version::  * version::
 * shell::  * shell::
Line 86  on $B$N;~(B, $BH!?t$N:FDj5A;~$K%a%C%;!<%8$rI=<($9$k
Line 87  on $B$N;~(B, $BH!?t$N:FDj5A;~$K%a%C%;!<%8$rI=<($9$k
 @item hex  @item hex
 1 $B$N$H$-(B, $B@0?t$O(B 0x $B$G;O$^$k(B 16 $B?J?t$H$7$FI=<($5$l$k(B. -1 $B$N$H$-(B, 16 $B?J?t$O(B,  1 $B$N$H$-(B, $B@0?t$O(B 0x $B$G;O$^$k(B 16 $B?J?t$H$7$FI=<($5$l$k(B. -1 $B$N$H$-(B, 16 $B?J?t$O(B,
 $B4V$K(B @samp{|} $B$r$O$5$s$G(B 8 $B7e$4$H$K6h@Z$C$FI=<($5$l$k(B.  $B4V$K(B @samp{|} $B$r$O$5$s$G(B 8 $B7e$4$H$K6h@Z$C$FI=<($5$l$k(B.
   @item fortran_output
   1 $B$N$H$-(B, $BB?9`<0$NI=<($,(B FORTRAN $B%9%?%$%k$K$J$k(B. $B$9$J$o$AQQ$,(B
   @samp{^} $B$NBe$o$j$K(B @samp{**} $B$GI=$5$l$k(B.
   ($B%G%U%)%k%HCM$O(B 0.)
 @item ox_batch  @item ox_batch
 1 $B$N$H$-(B, $BAw?.%P%C%U%!$,$$$C$Q$$$K$J$C$?;~$N$_<+F0E*$K(B flush.  1 $B$N$H$-(B, $BAw?.%P%C%U%!$,$$$C$Q$$$K$J$C$?;~$N$_<+F0E*$K(B flush.
 0 $B$N$H$-(B, $B%G!<%?(B, $B%3%^%s%IAw?.Kh$K(B flush. ($B%G%U%)%k%HCM$O(B 0.)  0 $B$N$H$-(B, $B%G!<%?(B, $B%3%^%s%IAw?.Kh$K(B flush. ($B%G%U%)%k%HCM$O(B 0.)
Line 149  If `on' a warning messages is displayed when a functio
Line 154  If `on' a warning messages is displayed when a functio
 If 1 is set, integers are displayed as hexadecimal numbers with prefix  If 1 is set, integers are displayed as hexadecimal numbers with prefix
 @code{0x}. if -1 is set, hexadecimal numbers are desplayed with  @code{0x}. if -1 is set, hexadecimal numbers are desplayed with
 @samp{|} inserted at every 8 hexadecimal digits.  @samp{|} inserted at every 8 hexadecimal digits.
   @item fortran_output
   If `on' polynomials are displayed in FORTRAN style. That is, a power
   is represented by @samp{**} instead of @samp{^}.
   The default value is 'off.
 @item ox_batch  @item ox_batch
 If 'on', the OpenXM send buffer is flushed only when the buffer is full.  If 'on', the OpenXM send buffer is flushed only when the buffer is full.
 If 'off', the buffer is always flushed at each sending of data or command.  If 'off', the buffer is always flushed at each sending of data or command.
Line 170  The default value is 'on'.
Line 179  The default value is 'on'.
 \JP @item $B;2>H(B  \JP @item $B;2>H(B
 \EG @item References  \EG @item References
 @fref{cputime tstart tstop}, @fref{output},  @fref{cputime tstart tstop}, @fref{output},
 @fref{pari}, @fref{setprec}, @fref{eval}.  @fref{pari}, @fref{setprec}, @fref{eval deval}.
 @end table  @end table
   
 \JP @node debug,,, $B$=$NB>(B  \JP @node debug,,, $B$=$NB>(B
Line 553  the debug-mode and execute @code{cputime(1)}.
Line 562  the debug-mode and execute @code{cputime(1)}.
 \EG @item References  \EG @item References
 @fref{time}, @fref{ctrl}.  @fref{time}, @fref{ctrl}.
 @end table  @end table
   
   \JP @node timer,,, $B$=$NB>(B
   \EG @node timer,,, Miscellaneouses
   @subsection @code{timer}
   @findex timer
   
   @table @t
   @item timer(@var{interval},@var{expr},@var{val})
   \JP :: $B@)8B;~4V$D$-$G7W;;$r<B9T$9$k(B.
   \BEG
   :: Compute an expression under the interval timer.
   \E
   @end table
   
   @table @var
   @item return
   \JP $B7k2L(B
   \EG result
   
   @item interval
   \JP $B@)8B;~4V(B ($BIC(B)
   \EG interval (second)
   
   @item expr
   \JP $B7W;;$9$k<0(B
   \EG expression to be computed
   
   @item val
   \JP $B%?%$%^$K$h$kCfCG;~$NLa$jCM(B
   \EG a value to be returned when the timer is expired
   @end table
   
   @itemize @bullet
   
   \BJP
   @item
   @code{timer()} $B$O(B, $B;~4V$r;XDj$7$F7W;;$r<B9T$9$k(B. $B;XDj;~4VFb$K7W;;$,40N;(B
   $B$7$?>l9g$=$NCM$rJV$9(B. $B;XDj;~4VFb$K7W;;$,40N;$7$J$+$C$?>l9g(B, $BBh(B 3 $B0z?t(B
   $B$rJV$9(B.
   
   @item
   $BBh(B 3 $B0z?t$NCM$O(B, $B7W;;$,40N;$7$?>l9g$NCM$H6hJL$G$-$kI,MW$,$"$k(B.
   \E
   
   \BEG
   @item
   @code{timer()} computes an expression under the interval timer.
   If the computation finishes within the specified interval, it
   returns the result of the computation. Otherwise it returns the third
   argument.
   
   @item
   The third argument should be distinguishable from the result on success.
   \E
   
   @end itemize
   
   @example
   [0] load("cyclic");
   1
   [10] timer(10,dp_gr_main(cyclic(7),[c0,c1,c2,c3,c4,c5,c6],1,1,0),0);
   interval timer expired (VTALRM)
   0
   [11]
   @end example
   
 \JP @node heap,,, $B$=$NB>(B  \JP @node heap,,, $B$=$NB>(B
 \EG @node heap,,, Miscellaneouses  \EG @node heap,,, Miscellaneouses

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

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