Post Reply 
IFERR? Interception of an input error
03-10-2017, 07:51 PM
Post: #9
RE: IFERR? Interception of an input error
(03-10-2017 03:08 PM)Han Wrote:  There is a bug in your code. Num would be non-zero as long as the last character is numeric. Your IF statement should be: IF (num == 0) THEN RETURN(0); END;

There is no need for CONTINUE, since there is no code to skip after the IF statement. In fact, the current IF statement doesn't actually do anything when you trace the logic.

Right Han, i was meaning "BREAK", but a direct RETURN works as well.
I was typing this "on the go" on my tablet, neither on Emulator nor "real" calculator Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: IFERR? Interception of an input error - EdDereDdE - 03-10-2017 07:51 PM



User(s) browsing this thread: 1 Guest(s)