Set

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: set register

  • register = register to set

Use

Used to set a register to a boolean value of 1 (true).

Example


100:     jmpi_= R1, 00000001, 1 //If Register R1 equals 1 jump to 1
         window_msg 'This is a one time only message!<cr>Unless Function 101 is called of course...'
         winend 
         set R1 //Set R1 to 1
         ret 
101:     clear R1 //Clear R1 to 0
         ret 

Also see

jmpi_=, window_msg, winend, clear, ret