View Single Post
11-01-10, 03:27 PM   #4
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Oke. That sounds logical. Thank you very much.

But ... shouldn't it be

Code:
do 
	local function testfunction()
		--stuff
	end
end
instead of

Code:
do 
	function testfunction()
		--stuff
	end
end
?

Isn't the version without the global function the same as without the do/end??
  Reply With Quote