Annotation of OpenXM/src/asir-doc/parts/builtin/module.texi, Revision 1.1
1.1 ! ohara 1: @comment $OpenXM$
! 2: \BJP
! 3: @node $B%b%8%e!<%k$KBP$9$kA`:n(B,,, $BAH$_9~$_H!?t(B
! 4: @section $B%b%8%e!<%k$KBP$9$kA`:n(B
! 5: \E
! 6: \BEG
! 7: @node Operations for modules,,, Built-in Function
! 8: @section Operations for modules
! 9: \E
! 10:
! 11: @menu
! 12: * module_list::
! 13: * module_definedp::
! 14: * remove_module::
! 15: @end menu
! 16:
! 17: \JP @node module_list,,, $B%b%8%e!<%k$KBP$9$kA`:n(B
! 18: \EG @node module_list,,, Operations for modules
! 19: @subsection @code{module_list}
! 20: @findex module_list
! 21:
! 22: @table @t
! 23: @item module_list()
! 24: \JP :: $BDj5A:Q$_$N%b%8%e!<%k$N%j%9%H$rF@$k(B.
! 25: \EG :: Get the list of loaded modules.
! 26: @end table
! 27:
! 28: @table @var
! 29: @item return
! 30: \JP $BDj5A:Q$_$N%b%8%e!<%k$N%j%9%H(B.
! 31: \EG The list of loaded modules.
! 32: @end table
! 33:
! 34: @example
! 35: [1040] module_list();
! 36: [gr,primdec,bfct,sm1,gnuplot,tigers,phc]
! 37: @end example
! 38:
! 39: @table @t
! 40: \BJP
! 41: @item $B;2>H(B
! 42: @xref{$B%b%8%e!<%k(B}
! 43: \E
! 44: \BEG
! 45: @item References
! 46: @xref{module}.
! 47: \E
! 48: @end table
! 49:
! 50: \JP @node module_definedp,,, $B%b%8%e!<%k$KBP$9$kA`:n(B
! 51: \EG @node module_definedp,,, Operations for modules
! 52: @subsection @code{module_definedp}
! 53: @findex module_definedp
! 54:
! 55: @table @t
! 56: @item module_definedp(@var{name})
! 57: \JP :: $B%b%8%e!<%k(B @var{name} $B$NB8:_$r%F%9%H$9$k(B.
! 58: \EG :: Testing an existense of the module @var{name}.
! 59: @end table
! 60:
! 61: @table @var
! 62: @item return
! 63: (1|0)
! 64: @item name
! 65: \JP $B%b%8%e!<%kL>(B
! 66: \EG a module name
! 67: @end table
! 68:
! 69: @itemize @bullet
! 70: @item
! 71: \JP $B%b%8%e!<%k(B @var{name} $B$,B8:_$9$l$P(B 1, $BB8:_$7$J$1$l$P(B 0 $B$rJV$9(B.
! 72: \EG If the module @var{name} exists, then @code{module_definedp} returns 1. othewise 0.
! 73: @end itemize
! 74:
! 75: @example
! 76: [100] module_definedp("gr");
! 77: 1
! 78: @end example
! 79:
! 80: @table @t
! 81: \BJP
! 82: @item $B;2>H(B
! 83: @fref{module_list}, @xref{$B%b%8%e!<%k(B}.
! 84: \E
! 85: \BEG
! 86: @item References
! 87: @fref{module_list}, @xref{module}.
! 88: \E
! 89: @end table
! 90:
! 91: \JP @node remove_module,,, $B%b%8%e!<%k$KBP$9$kA`:n(B
! 92: \EG @node remove_module,,, Operations for modules
! 93: @subsection @code{remove_module}
! 94: @findex remove_module
! 95:
! 96: @table @t
! 97: @item remove_module(@var{name})
! 98: \JP :: $B%b%8%e!<%k(B @var{name} $B$r:o=|$9$k(B.
! 99: \EG :: Remove the module @var{name}.
! 100: @end table
! 101:
! 102: @table @var
! 103: @item return
! 104: (1|0)
! 105: @item name
! 106: \JP $B%b%8%e!<%kL>(B
! 107: \EG a module name
! 108: @end table
! 109:
! 110: @itemize @bullet
! 111: @item
! 112: \JP $B:o=|$K@.8y$9$l$P(B 1, $B<:GT$9$l$P(B 0 $B$rJV$9(B.
! 113: @end itemize
! 114:
! 115: @example
! 116: [100] remove_module("gr");
! 117: 1
! 118: @end example
! 119:
! 120: @table @t
! 121: \BJP
! 122: @item $B;2>H(B
! 123: @xref{$B%b%8%e!<%k(B}.
! 124: \E
! 125: \BEG
! 126: @item References
! 127: @xref{module}.
! 128: \E
! 129: @end table
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>