以前のリビジョンの文書です
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/handler.php on line
1458
Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
79
Warning: Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
101
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3120 in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/lexer.php on line
118
A PCRE internal error occured. This might be caused by a faulty plugin
====== macroを実行したら自動的にROOTを終了するようにしたい =======
----
マクロを実行後、そのままROOTを終了するようにするためには、
root -q macro.C
のようにすればよい。
毎度 -q を入れるのが面倒ならば、マクロの最後に以下のどれかを加えてやれば良い。
<code cpp>
gSystem->Abort();//引数は取れるが何を意味するか不明
gSystem->Exit(1);//// 終了コードを指定
gApplication->Terminate();///// 引数を指定すると、終了コードとしてその値を返す。
</code>
ちなみに終了コードは0-255になるよう、引数をXとして、(X % 256) の値が返る。