If you want INIT func, just declare and call it before TIC function.
function init()
t=0
end
init()
function TIC()
cls(12)
print("HELLO WORLD!",84,64)
t=t+1
end
I designed the app to use with only one TIC function which calls 60 times per second.