Example:
hello = function()
print("Hello World!")
for i = 1, 10
print("I am number "..i.."!")
end
end
I want to be able to extract the code that is run when the function is called, so I would be left with:
print("Hello World!")
for i = 1, 10
print("I am number "..i.."!")
end
Edited by connordelaneyy, 17 November 2014 - 09:42 AM.











