In LUA, I've found this will fail:
-- Define foo
local function foo()
-- Execute the bar function
bar()
end
-- Now define bar
local function bar()
...
end
Is it possible to 'prototype' the bar() function somehow as you do in C, or are you restricted to always defining functions before they are used?