API DeleteMacro

Deletes a macro.
 DeleteMacro(index or macroname)
==Arguments==
The sole argument has two forms to identify which macro to delete.
:;index: - Index ranging from 1 to 120 for account-wide macros and 121 to 138 for character-specific ones.
:;macroname: - Name of the macro to delete.
==Example==
Deleting all global macros:
-- Start at the end, and move backward to first position (1).
for i = 0 + select(1,GetNumMacros()), 1, -1 do
	DeleteMacro(i)
end
Deleting all character-specific macros:
-- Start at the end, and move backward to first position (121).
for i = 120 + select(2,GetNumMacros()), 121, -1 do
	DeleteMacro(i)
end
==Patch changes==
==See also==
* 
* 
* 
==References==