tag:blogger.com,1999:blog-7225373.post2014823733148108915..comments2024-02-29T03:34:23.190-05:00Comments on Who Were the Sea Peoples?: A programming language breakthrough!gcallahhttp://www.blogger.com/profile/10065877215969589482noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7225373.post-4717520711141768652017-02-05T18:07:36.379-05:002017-02-05T18:07:36.379-05:00That reminds me of the time that a technician at w...That reminds me of the time that a technician at work argued that fractional Hertz made no sense. How can you have 0.1 Hz, or 10.5 Hz? You have to have full cycles.Andyhttps://www.blogger.com/profile/07221537769343338514noreply@blogger.comtag:blogger.com,1999:blog-7225373.post-82320917572669429612017-02-05T16:04:33.208-05:002017-02-05T16:04:33.208-05:00Well that's ridiculous: how can we not do some...Well that's ridiculous: how can we not do something a fractional number of times?!<br /><br />NON DO(0)<br /><br />I'm running it now. I'll be back to you as soon as the loop finishes...gcallahhttps://www.blogger.com/profile/10065877215969589482noreply@blogger.comtag:blogger.com,1999:blog-7225373.post-71154774600206978212017-02-05T15:03:42.656-05:002017-02-05T15:03:42.656-05:00NON DO(1) {
NON DO(1) {
PRINT("Hello wo...NON DO(1) {<br /> NON DO(1) {<br /> PRINT("Hello world!);<br />}<br />}<br /><br />The inner loop's action is to not print "Hello world!" once. So the outer loops's action is to not not print "Hello world!" once, meaning we print it once. And that's O(1).<br /><br />So I think this control structure is more of a NO GO, than a NON DO.Nathan Conroyhttps://www.blogger.com/profile/08296687214082031107noreply@blogger.comtag:blogger.com,1999:blog-7225373.post-75534992471302139222017-02-04T11:46:48.273-05:002017-02-04T11:46:48.273-05:00Will it accept non-integer values, so that I can u...Will it accept non-integer values, so that I can use NON DO (0.001) for a one second delay?<br /><br />And will NON DO (0) take infinite time to execute, or just never complete?Andyhttps://www.blogger.com/profile/07221537769343338514noreply@blogger.com