Error can't find handler

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
polecat
Posts: 8
Joined: Tue Jun 28, 2016 9:52 pm

Error can't find handler

Post 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
card scripts
divide scripts
divide scripts
Error
Error
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Error can't find handler

Post by mwieder »

In the card script your "set the showBorder to" should be "set the showBorder of"
polecat
Posts: 8
Joined: Tue Jun 28, 2016 9:52 pm

Re: Error can't find handler

Post by polecat »

I received the same error
Schermata 2016-06-29 alle 09.21.53.png
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Error can't find handler

Post by Klaus »

Just to be sure, the button "divide" IS on the card "Calcolatrice"?
polecat
Posts: 8
Joined: Tue Jun 28, 2016 9:52 pm

Re: Error can't find handler

Post by polecat »

I've only one card! however how can I verify if my button divide is on the same card "Calcolatrice"?
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Error can't find handler

Post 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! :D

If you like you can send me that stack privately and I will take a look -> klaus AT major-k.de
Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 332
Joined: Sun Apr 15, 2012 1:17 am
Contact:

Re: Error can't find handler

Post 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.
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Error can't find handler

Post by Klaus »

I received and opened the stack and do NOT see this error when clicking that button!?
Maybe restarting LC helps?
polecat
Posts: 8
Joined: Tue Jun 28, 2016 9:52 pm

Re: Error can't find handler

Post by polecat »

Is so strange but i install the new version of livecode and now works.
Tnks a lot
Post Reply