if statement

Executes scoped commands depending of the provided condition.

Run the code below and try pressing ESC key to display B1 is true.

function main() {
  //do nothing
}
function cleanrender() {
  if (B1 == true) {
    Konsol:Log("B1 is true")
  }
}

Also See

todo: fix links

www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net