To my future self: Keep everything local. Declare the section function as a (local) variable. Be aware of whereabouts in the code you define the functions
( -- put everything in brackets
(
-- declare the second function first!
local funcTwo
-- declare function names before calling them!
function funcOne = ()
function funcTwo = ()
funcOne()
function funcOne =
(
funcTwo()
)
function funcTwo =
(
messageBox ("Hello world")
)
)