Difference between revisions of "0002"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
{{Icon|trilogy}} '''GOTO''' | {{Icon|trilogy}} '''GOTO''' | ||
<hr /> | <hr /> | ||
− | |||
'''Description''' | '''Description''' | ||
: Jumps to a label in the thread. | : Jumps to a label in the thread. | ||
'''Syntax''' | '''Syntax''' | ||
− | : 0002: jump [label] | + | : 0002: jump [''label''] |
− | : jump [label] | + | : jump [''label''] |
'''Parameters''' | '''Parameters''' | ||
: [''label''] | : [''label''] | ||
Line 12: | Line 11: | ||
This is used in unconditional jumps. In both the Mission Builder and [[Sanny Builder]], you can use the '''jump''' keyword instead. The destination point is identified by a label, which is then used as a parameter. | This is used in unconditional jumps. In both the Mission Builder and [[Sanny Builder]], you can use the '''jump''' keyword instead. The destination point is identified by a label, which is then used as a parameter. | ||
− | |||
− | + | == Keywords == | |
− | |||
− | |||
− | ==Keywords== | ||
jump, goto, label | jump, goto, label | ||
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 02:36, 29 December 2014
Description
- Jumps to a label in the thread.
Syntax
- 0002: jump [label]
- jump [label]
Parameters
- [label]
- The position in the script it will go to, usually identified by a label
This is used in unconditional jumps. In both the Mission Builder and Sanny Builder, you can use the jump keyword instead. The destination point is identified by a label, which is then used as a parameter.
Keywords
jump, goto, label