Post Reply 
(29C) Prime numbers up to 10'000
09-07-2018, 08:07 PM
Post: #14
RE: (29C) Prime numbers up to 10'000
(09-05-2018 08:12 PM)C.Ret Wrote:  You may have spent a few time to figure out the bug!

Finding the bug was easy once I was sure that I entered the code correctly into the emulator.
But I've long been convinced that I made a typo somewhere.

And then there's a weird behaviour of the emulator that wouldn't allow me to single-step into a subroutine (e.g. GSB 8).
Instead it would just step over it and return.

I assume that this is a bug of the emulator.
But maybe someone can verify if that happens with a real calculator as well?
This made me insert an R/S command directly after the LBL 8.

Quote:Please accept my apologies. If we meet, please remind me to offer you a large glass of beer (or any local beverage you prefer).

Are you planning to attend the Allschwil Meeting 2018?
Because that would be an opportunity to meet.

I'll happily accept a beer, although that's not really necessary.
These kind of errors happen to me all the time and I'm glad I have Dieter who draws my attention to them, as in post #8 of this thread.



I'm very impressed by your flowchart and listing of the program.
What do you use to create them?

It appears that the listing can be executed.
Or how else should I interpret the smaller grey numbers like 1227x to the left of the line number?

Thanks a lot for your explanations!

Kind regards
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (29C) Prime numbers up to 10'000 - Thomas Klemm - 09-07-2018 08:07 PM



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