Jump: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 31: | Line 31: | ||
}}{{#vardefine:caveats| | }}{{#vardefine:caveats| | ||
}}{{#vardefine:helpers| | }}{{#vardefine:helpers| | ||
}}{{#vardefine:also_header|<h3>Keywords</h3> | |||
{{{!}} | |||
{{LSL DefineRow||[[return]]|}} | |||
{{LSL DefineRow||[[state]]|}} | |||
{{!}}} | |||
}}{{#vardefine:also_footer| | }}{{#vardefine:also_footer| | ||
}}{{#vardefine:also_functions| | }}{{#vardefine:also_functions| | ||
| Line 36: | Line 41: | ||
}}{{#vardefine:also_articles| | }}{{#vardefine:also_articles| | ||
}}{{#vardefine:also_tests| | }}{{#vardefine:also_tests| | ||
}}{{#vardefine:location| | }}{{#vardefine:location| | ||
}}{{LSL Generic}}{{LSLC|Flow Control}} | }}{{LSL Generic}}{{LSLC|Flow Control}} | ||
Revision as of 14:05, 2 March 2007
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
- The correct title of this article is jump. The initial letter is shown capitalized due to technical restrictions.
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