=================================================================== RCS file: /home/cvs/OpenXM/src/asir-doc/parts/builtin/misc.texi,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -p -r1.1.1.1 -r1.2 --- OpenXM/src/asir-doc/parts/builtin/misc.texi 1999/12/08 05:47:44 1.1.1.1 +++ OpenXM/src/asir-doc/parts/builtin/misc.texi 1999/12/10 06:58:50 1.2 @@ -15,6 +15,7 @@ * flist:: * delete_history:: * get_rootdir:: +* getopt:: @end menu @node ctrl,,, $B$=$NB>(B @@ -573,6 +574,49 @@ Windows $BHG$N>l9g(B, @samp{asirgui.exe} $B$N$"$k%G $B$3$N4X?t$,JV$9%G%#%l%/%H%jL>$r4p=`$H$7$?AjBP%Q%9L>$r;XDj$9$k$3$H$K$h$j(B, $B%$%s%9%H!<%k(B $B$5$l$?>l=j$K$h$i$J$$%U%!%$%kFI$_9~$_%W%m%0%i%`$r=q$/$3$H$,$G$-$k(B. @end itemize + + +@node getopt,,, $B$=$NB>(B +@subsection @code{getopt} +@findex getopt + +@table @t +@item getopt(@var{key}) +:: $B%*%W%7%g%s$NCM$rJV$9(B. +@end table + +@table @var +@item return +$BG$0U(B +@end table + +@itemize @bullet +@item +$B%f!<%6Dj5A4X?t$O(B, $B8GDj8D?t0z?t$G$7$+@k8@$G$-$J$$(B. $B%f!<%6Dj5A4X?t$G(B +$B2DJQ8D0z?t$rl9g$K$O(B, $B$=$NCM$rJV$9(B. $B$b$7;XDj$,$J$$>l9g$K$O(B, VOID $B7?%*%V%8%'%/%H(B +($B7?<1JL;R(B -1) $B$rJV$9(B. @code{getopt()} $B$,JV$7$?CM$N7?$r(B @code{type()} +$B$GD4$Y$k$3$H$G(B, $B$=$N%*%W%7%g%s$,;XDj$5$l$?$+$I$&$+D4$Y$k$3$H$,$G$-$k(B. +@item +$B4X?t8F$S=P$7$K$*$1$k%*%W%7%g%s$N;XDj$O(B, $B@55,$N0z?t$J$i$S$N8e$m$K(B, + +@example +xxx(A,B,C,D|x=X,y=Y,z=Z) +@end example + +$B$H$$$&Iw$K(B, @samp{|} $B$KB3$/(B, @var{key=value} $B$N(B @samp{,} $B$G6h@Z$i$l$?(B +$BJB$S$rCV$/$3$H$G9T$&(B. +@end itemize + +@table @t +@item $B;2>H(B +@fref{$B%*%W%7%g%s;XDj(B}, @fref{type}. +@end table +