Why does this Friday 13th program fail?
|
10-16-2017, 03:05 PM
Post: #3
|
|||
|
|||
RE: Why does this Friday 13th program fail?
Thank you for sharing this neat program, Joe.
I quit programming long time ago (because I don't need it for my work anymore), so when I looked to the first program listing I couldn't immediately see anything wrong, but the two consecutive END statements following a RETURN did call my attention to check the begin-end code blocks in more detail. I didn't try the program myself, but my understanding is that the Prime interpreter will not detect any anomalies in the first code listing, meaning that from the point of syntax correctness the Prime will find no errors. It seems that in the first posted algorithm, the FOR loop was interrupted due to an early exit imposed by the RETURN statement, right? Jose Mesquita RadioMuseum.org member |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Why does this Friday 13th program fail? - Joe Horn - 10-16-2017, 02:02 PM
RE: Why does this Friday 13th program fail? - Joe Horn - 10-16-2017, 02:04 PM
RE: Why does this Friday 13th program fail? - jebem - 10-16-2017 03:05 PM
RE: Why does this Friday 13th program fail? - ggauny@live.fr - 10-16-2017, 06:40 PM
RE: Why does this Friday 13th program fail? - toml_12953 - 10-16-2017, 08:09 PM
RE: Why does this Friday 13th program fail? - Joe Horn - 10-17-2017, 04:03 AM
RE: Why does this Friday 13th program fail? - Giancarlo - 10-17-2017, 05:09 AM
RE: Why does this Friday 13th program fail? - Joe Horn - 10-17-2017, 12:17 PM
RE: Why does this Friday 13th program fail? - Didier Lachieze - 10-17-2017, 08:42 PM
RE: Why does this Friday 13th program fail? - Tyann - 10-18-2017, 04:22 AM
RE: Why does this Friday 13th program fail? - DrD - 10-17-2017, 09:15 PM
RE: Why does this Friday 13th program fail? - DrD - 10-18-2017, 10:22 AM
|
User(s) browsing this thread: 4 Guest(s)