Difference between revisions of "004D"
Jump to navigation
Jump to search
(page updates) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|t}} '''GOTO_IF_FALSE''' |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Jumps to a label if the condition is false. | |
− | + | '''Syntax''' | |
− | + | : 004D: jump_if_false [''label''] | |
− | + | : else_jump [''label''] | |
+ | : jf [''label''] | ||
+ | '''Parameters''' | ||
+ | : [''label''] | ||
+ | :: The position in the script it will go to, usually identified by a [[label]] | ||
− | ==Keywords== | + | This opcode is used in conditional jumps; its primary usage is in [[conditional statement]]s. The destination point is identified by a label, which is then used as a parameter. In Sanny Builder where higher-level syntax is supported, the opcode is built into the syntax wherever conditional statements like [[Wikipedia:Conditional (computer programming)|if-then-else]] are used. |
− | if, conditional, statement, jf, jump | + | |
+ | == Keywords == | ||
+ | if, conditional, statement, jf, jump, goto, false | ||
+ | |||
+ | == See also == | ||
+ | * {{Icon|t}} [[0002]], goto | ||
+ | |||
+ | [[Category:OpCodes]] |
Latest revision as of 20:46, 31 December 2015
Description
- Jumps to a label if the condition is false.
Syntax
- 004D: jump_if_false [label]
- else_jump [label]
- jf [label]
Parameters
- [label]
- The position in the script it will go to, usually identified by a label
This opcode is used in conditional jumps; its primary usage is in conditional statements. The destination point is identified by a label, which is then used as a parameter. In Sanny Builder where higher-level syntax is supported, the opcode is built into the syntax wherever conditional statements like if-then-else are used.
Keywords
if, conditional, statement, jf, jump, goto, false
See also
- 0002, goto