WoW API: print

Revision as of 02:03, 19 September 2008 by WoWWiki>Adys (New page: {{wowapi}} Print an argument to the default chat frame. print("Hello, WoW!") == Parameters == === Arguments === :("arg1"[, "argN"]) :;arg1 : object to print :;argN : object to print, s...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < print

Print an argument to the default chat frame.

print("Hello, WoW!")

Parameters

Arguments

("arg1"[, "argN"])
arg1
object to print
argN
object to print, separated by a space from the previous object.

Returns

nil

Details

This function serves as a cleaner replacement from DEFAULT_CHAT_FRAME:AddMessage().

Each argument given is printed separated by a space from the previous one.

print() was added in 3.0.2 (8926)