---------------------------------------------------------------------

next up previous contents
Next: ファイル Up: プログラミング Previous: プログラミング

---------------------------------------------------------------------

プログラミング関数

    Block[ tex2html_wrap7400 ]   ブロック化(式:セミコロン ; で区切られたコマンド列)
      変数リスト
      {}   ローカル変数を使用しない
      tex2html_wrap7401   ローカル変数のリスト
      tex2html_wrap7402   初期化する場合
    Do[ tex2html_wrap7403 ]   n 回反復
     
    Do[ tex2html_wrap7404 ]   カウンタを使用
    Return,Breakでの脱出不可、関数値を返さない
    For[ tex2html_wrap7405 ]   反復
     
      初期式   最初に実行する式(例:i=0)
      条件   Trueの間反復
      インクリメント   i++; j+=2 等
    While[ tex2html_wrap7406 ]   反復
     
    Return[ tex2html_wrap7407 ]   関数値を返す(省略可)
     
    Break[]   一番内側のFor,Whileから抜け出す
     
    Continue[]   それ以降をとばしてFor,Whileの先頭に戻る
     
    Nest[ tex2html_wrap7410 ]   引数に式を n 回繰り返し実行
     
    Catch[ tex2html_wrap7411 ]   
       
    Throwを実行した時点でそのCatchブロックは終了となる。Catchの返す値はThrowで指定した値
    Goto[ tex2html_wrap7412 ]   分岐
     
    Label[ tex2html_wrap7413 ]   ラベルを設定
     
    If[ tex2html_wrap7414 ]   条件がTrueなら tex2html_wrap_inline7440 、Falseなら tex2html_wrap_inline7442 、どちらでもなければ
     
    tex2html_wrap_inline7444 を実行( tex2html_wrap_inline7446 は省略可)
    Which[ tex2html_wrap7415 ]    tex2html_wrap_inline7448 がTrueなら tex2html_wrap_inline7450 を実行
     
    Switch[ tex2html_wrap7416 ]   式の値が tex2html_wrap_inline7452 なら tex2html_wrap_inline7454 を実行
     
    Print[ tex2html_wrap7417 ]   式を表示
     

---------------------------------------------------------------------

Mathematica リファレンスマニュアル に戻る。
吉田 誠一のホームページ に戻る。
Copyright(C) Seiichi Yoshida (comet@aerith.net). All rights reserved.
Sun Nov 10 03:21:52 JST 1996