test()
function test()
print("test")
end
I mean something more like this:
(The code in question uses my Screen API
local function buttonAction() --# Other stuff calcSize() --# Need to call 'calcSize' end local function calcSize() addButton( "Button1" , buttonAction ) --# Need to pass the 'buttonAction' function endThis isn't how it actually looks, but this is the general idea.
Assume 'buttonAction' is also called further down in the code by something else
So how would I go about doing this?
Edited by HPWebcamAble, 25 August 2015 - 05:50 PM.












