Jmp off
From Unofficial QEdit Wiki Guide
Contents
Syntax
Syntax: jmp_off string
- string: contains function to jmp to and registers to test. If the following format: [function], [number of registers]:[register]:[...]
Use
Used for jumping to a function if all specified registers are off.
Example
100: set R1
jmp_off 200, 3:1:2:3 //R1 set. No jump
set R2
jmp_off 200, 3:1:2:3 //R1 and R2 set. No jump
set R3
jmp_off 200, 3:1:2:3 //All registers are set. No jump
clear R1
clear R2
clear R3
jmp_off 200, 3:1:2:3 //All registers are off. Jump to function 200
ret
200: window_msg 'All registers have been cleared'
winend
ret
Also see
set, clear, window_msg, winend, ret