Jump/ja: Difference between revisions
< Jump
Asuka Neely (talk | contribs) mNo edit summary |
Mako Nozaki (talk | contribs) No edit summary |
||
| Line 48: | Line 48: | ||
}}{{#vardefine:also_tests| | }}{{#vardefine:also_tests| | ||
}}{{#vardefine:location| | }}{{#vardefine:location| | ||
}}{{LSL Generic/ja}}{{LSLC|Flow Control | }}{{LSL Generic/ja}}{{LSLC/ja|Flow Control}} | ||
Revision as of 22:12, 14 April 2010
| LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
- The correct title of this article is jump/ja. The initial letter is shown capitalized due to technical restrictions.
jump target;
jump target;| • label | target | – | ラベル名は階層ツリーで同じスコープ区間の内側です。 |
@target;
| • label | target | – | ラベルが同じスコープか子スコープにジャンプできる場合、ジャンプします。 |
注意点
targetは、全てのジャンプは行いません。
複数に及ぶジャンプのためには、更にtargetを使う必要があるでしょう。
技術的な限界、見落とし、バグの場合、常に無いものとして扱われます。
サンプル
integer a = 5;
jump over;
@in;
a = 6;
@over;
llOwnerSay((string)a);
if(a < 6)
jump in;
//script will say 5 and then 6