Rev

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: rev register

  • register = register to toggle

Use

Used to toggle a register's boolean value.

Example


100:     rev R1 //toggle R1 on
         window_msg 'r1 is equal to <r1>' //R1 is equal to 1
         rev R1 //toggle R1 off
         add_msg 'r1 is equal to <r1>' //R1 is equal to 0
         winend 
         ret 

Also see

window_msg, add_msg, winend, ret