Code: Select all
on MouseUp
put line 25 of field "PlayerList" into playerlistline
put playerlistline into line 1 of field "TestField"
matchText(playerlistline,"name (player)",sc1)
put sc1 into line 2 of field "TestField"
end MouseUp
When it gets to the matchText line I get the error message: "button "AddButton": execution error at line 7 (Handler: can't find handler) near "matchText", char 1"
I read the section on handlers in the User Guide, but I am still not clear as to why LiveCode "can't find handler" in this instance.
Any assistance or advice is greatly appreciated,
TJ.