Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-12-11, 06:22 PM   #1
Waky
A Cobalt Mageweaver
 
Waky's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 200
Is there a difference?

I've seen people do these two things in their code, and I was wondering if it made a difference:

#1
Code:
local funcName = function(x,y,z)
 --[[ Fancy code goes here ]]
end
#2
Code:
local function funcName(x,y,z)
 --[[ Fancy code goes here ]]
end
Lemme know! Thanks!
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Is there a difference?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off