View Single Post
12-12-13, 08:50 AM   #2
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
The most common is using "function name(args)"

Also you can use "local" as prefix to limit the scope, otherwise your examples create global functions usable by all addons, and it might even write over already existing functions like that. Just be careful.
__________________
Profile: Curse | Wowhead
  Reply With Quote