Jmp on

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: jmp_on 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 on.

Example


100:     set R1
         jmp_on 200, 3:1:2:3 //Only R1 set. No jump
         set R2
         jmp_on 200, 3:1:2:3 //Only R1 and R2 set. No jump
         set R3
         jmp_on 200, 3:1:2:3 //All registers are set. Jump to function 200
         ret 
200:     window_msg 'All registers have been set'
         winend 
         ret 

Also see

set, window_msg, winend, ret