Difference between revisions of "Jump"

From Second Life Wiki
Jump to navigation Jump to search
Line 28: Line 28:
</pre>
</pre>
}}{{#vardefine:notes|
}}{{#vardefine:notes|
}}{{#vardefine:spec|
}}{{#vardefine:caveats|
}}{{#vardefine:caveats|
}}{{#vardefine:helpers|
}}{{#vardefine:helpers|

Revision as of 13:38, 2 March 2007

jump target;

jump target;
• label target Name of a label inside the same leg of the scope hierarchy tree

@target;

• label target A label that can be jumped to if the jump is in the same scope or child scope.

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