Difference between revisions of "Jump/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{Multi-lang}} {{LSL Header/ja| }}{{#vardefine:name|jump }}{{#vardefine:p_jump_target_desc|ラベル名は階層ツリーで同じスコープ区間の内側です。 }}{{#vardefine:p_labe...)
 
m
Line 48: Line 48:
}}{{#vardefine:also_tests|
}}{{#vardefine:also_tests|
}}{{#vardefine:location|
}}{{#vardefine:location|
}}{{LSL Generic}}{{LSLC|Flow Control/ja}}
}}{{LSL Generic}}{{LSLC|Flow Control/ja}}{{LSL Generic/ja}}

Revision as of 19:38, 31 December 2007

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 ラベルが同じスコープか子スコープにジャンプできる場合、ジャンプします。

Caveats

targetは、全てのジャンプは行いません。

複数に及ぶジャンプのためには、更にtargetを使う必要があるでしょう。


技術的な限界、見落とし、バグの場合、常に無いものとして扱われます。

Examples

integer a = 5;
jump over;
@in;
a = 6;
@over;
llOwnerSay((string)a);
if(a < 6)
    jump in;
//script will say 5 and then 6

See Also

キーワード

•  return
•  state