lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Another suggestion is "forward" keyword (it can be used more then once):

forward f
local function g() print('G', f()) end

forward f
local function h() print('H', f()) end

local function f() return 'F' end