[Resolved] newbie question about events

Are the below event handling or function definition same?

local myListener = function( event )  
 print( "Listener called with event of type " .. event.name )  
end  
[/code][code]  
  
local function myListener ( event )  
 print( "Listener called with event of type " .. event.name )  
end  

Thank you. [import]uid: 165784 topic_id: 29267 reply_id: 329267[/import]

I believe this thread covers this well; http://developer.coronalabs.com/forum/2012/07/03/function-differences [import]uid: 52491 topic_id: 29267 reply_id: 117693[/import]

Thank you Peach, i got it. [import]uid: 165784 topic_id: 29267 reply_id: 117728[/import]