hello.lua

-- A very simple script.

function main()
    menu.close()
    console.show()
    print "Hello, World!"
    print "Press any key to exit."
    key.wait()
    console.hide()
end

keymenu = menu.new
{
    name   = "Hello, World!",
    help   = "Prints 'Hello World' on the console",
    select = function(this) task.create(main) end,
}
generated by LDoc 1.4.3 Last updated 2016-04-23 15:53:20