Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread John Machin
On Jun 14, 12:27 pm, pdlem...@earthlink.net wrote: > On Sat, 13 Jun 2009 19:03:38 -0700 (PDT), John Machin > > > > wrote: > >On Jun 14, 10:20 am, pdlem...@earthlink.net wrote: > > >> Now no error message, but it will go on forever despite repeatedly > >> entering 0.  Have to get out with ctrl-c .

Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread pdlemper
On Sat, 13 Jun 2009 19:03:38 -0700 (PDT), John Machin wrote: >On Jun 14, 10:20 am, pdlem...@earthlink.net wrote: > >> Now no error message, but it will go on forever despite repeatedly >> entering 0.  Have to get out with ctrl-c .     > >>            Frusting: I'm missing something fundamental. D

Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread John Machin
On Jun 14, 10:20 am, pdlem...@earthlink.net wrote: > Now no error message, but it will go on forever despite repeatedly > entering 0.  Have to get out with ctrl-c .     >            Frusting: I'm missing something fundamental. Dave WB3DWE After you hit the zero key, do you hit the Enter key? If

Re: Persistent failure of 'break' statement ( novice )

2009-06-13 Thread Xavier Ho
I don't see any error in that code except the fact HTML ate one space from the code you pasted. It worked fine and perfectly as expected, even with print(num) present. I think you have either a run-time environment problem, or an editor encoding problem. Try a different editor, and/or different wa

Persistent failure of 'break' statement ( novice )

2009-06-13 Thread pdlemper
Thanks Mark & Rhodri. Neither works. I'm using Notepad2 as editor. Don't use the tab. Each space counted with spacebar & recounted. Rewrote the block from scratch as new script and eliminated the print line in the loop. Now no error message, but it will go on forever despite repeatedly entering