Quantcast WoWInterface - View Single Post - Defining functions
View Single Post
12-12-13, 08:36 AM   #1
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Defining functions

Hello

I'm fiddling around with some addons and I see people are using:

Code:
GetHealthText = function(unit, cur, max)
end

and

function GetHealthText (unit, cur, max)
end

What is the difference between these 2?
  Reply With Quote