Forum:Addon create problem

Hello I try to create my own addon. Here is a part of code:

SomeList = {}; function ButtonAdd_OnClick local str = EditBoxAdd:GetText; message("1"); local fl = tContains(SomeList, str); message("2"); if fl == true then message("test ok"); end; end

In WoW after ButtonAdd click I see message("1") but I don't see message("1"). Please explain me why?

Thank you.

--Zigfridus (talk) 12:34, August 6, 2010 (UTC)