Page 1 of 1
Error can't find handler
Posted: Tue Jun 28, 2016 10:05 pm
by polecat
I try to create a simple calculator following a livecode tutorial. When I create a card script the system give me a runtime error: ( Handler: can't find handler) near "operatorPressed", char 1
Please help me a can't understand where is the problem

- card scripts

- divide scripts

- Error
Re: Error can't find handler
Posted: Tue Jun 28, 2016 11:26 pm
by mwieder
In the card script your "set the showBorder to" should be "set the showBorder of"
Re: Error can't find handler
Posted: Wed Jun 29, 2016 8:22 am
by polecat
I received the same error
Re: Error can't find handler
Posted: Wed Jun 29, 2016 1:26 pm
by Klaus
Just to be sure, the button "divide" IS on the card "Calcolatrice"?
Re: Error can't find handler
Posted: Wed Jun 29, 2016 1:31 pm
by polecat
I've only one card! however how can I verify if my button divide is on the same card "Calcolatrice"?
Re: Error can't find handler
Posted: Wed Jun 29, 2016 1:36 pm
by Klaus
polecat wrote:I've only one card! however how can I verify if my button divide is on the same card "Calcolatrice"?
Well, in that case logics answers your question!
If you like you can send me that stack privately and I will take a look -> klaus AT major-k.de
Re: Error can't find handler
Posted: Wed Jun 29, 2016 1:48 pm
by Newbie4
Sometimes there is an unprintable character at the beginning of a line. (especially if you cut and pasted the line). Try deleting and retyping that line.
Re: Error can't find handler
Posted: Wed Jun 29, 2016 1:54 pm
by Klaus
I received and opened the stack and do NOT see this error when clicking that button!?
Maybe restarting LC helps?
Re: Error can't find handler
Posted: Wed Jun 29, 2016 2:06 pm
by polecat
Is so strange but i install the new version of livecode and now works.
Tnks a lot