Jump/ja

From Second Life Wiki
< Jump
Revision as of 22:12, 14 April 2010 by Mako Nozaki (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

参考情報

キーワード

•  return
•  state