Difference between revisions of "Jump"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{LSL Header| | {{LSL Header| | ||
}}{{#vardefine: | }}{{#vardefine:p_jump_target_desc|Name of a label inside the same leg of the scope hierarchy tree | ||
}}{{#vardefine:header_title|jump {{LSL Param|target}}; | }}{{#vardefine:p_label_target_desc|A label that can be jumped to if the jump is in the same scope or child scope. | ||
}}{{#vardefine:header_title|jump {{LSL Param|jump_target|target}}; | |||
}}{{#vardefine:header_text|{{{!}} | }}{{#vardefine:header_text|{{{!}} | ||
{{LSL DefineRow|label|target|{{#var: | {{LSL DefineRow|label|target|{{#var:p_jump_target_desc}}}} | ||
{{!}}} | {{!}}} | ||
}}{{#vardefine:constants_nb| | }}{{#vardefine:constants_nb| | ||
<div id="box"> | <div id="box"> | ||
<h2>@{{LSL Param|target}};</h2> | <h2>@{{LSL Param|label_target|target}};</h2> | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{{!}} | |||
{{LSL DefineRow|label|target|{{#var:p_label_target_desc}}}} | |||
{{!}}} | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 12:36, 2 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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