WoW:User defined functions: Difference between revisions

no edit summary
(rename "callback" to "arguments & returns". move "GetReturnValues" there.)
No edit summary
Line 1: Line 1:
{{wowapi}}__NOTOC__{{breadcrumb1|Interface Customization}}
{{wowapi}}{{breadcrumb|Interface Customization}}


These are cut-and-paste functions that you can use in your addons, submitted by WoWWiki contributors.
These are cut-and-paste functions that you can use in your addons, submitted by WoWWiki contributors.
Please use [[Boilerplate: User Defined Function]] when submitting new functions.


== Arguments & Returns ==
== Arguments & Returns ==
Line 28: Line 26:
== Metatables ==
== Metatables ==
: [[Memorizing table]] - A special table that calculates values as needed and saves them into itself
: [[Memorizing table]] - A special table that calculates values as needed and saves them into itself


== String Functions ==
== String Functions ==
Anonymous user