Thread
:
local function or object:Function, what to pick?
View Single Post
08-05-14, 10:47 AM
#
4
Sharparam
A Flamescale Wyrmkin
Join Date: Oct 2011
Posts: 102
You can get around the "not defined" issue by forward-declaring functions:
lua Code:
local
b
local
function
a
(
)
b
(
)
end
function
b
(
)
print
'foo'
end
Last edited by Sharparam : 08-05-14 at
10:49 AM
. Reason: Declaring `a` not really needed
Sharparam
View Public Profile
Send a private message to Sharparam
Visit Sharparam's homepage!
Find More Posts by Sharparam