function main

Entry point of KonsolScript; required function to any KonsolScript program

Try changing main to something (ex, foobar) and the program will fail to execute. Otherwise, it will display hello world.

function main() {
  Konsol:Log("hello world")
}

Also See

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