do ... while loop
Radovan Garabik
garabik at melkor.dnp.fmph.uniba.sk.invalid
Fri Oct 15 03:21:46 EDT 1999
Joel Davis <joeld at anisci.com> wrote:
: I totally agree.
: I use while 1: (and for(;;) in c) all the time. It seems like a really
: good construct, however I always feel a little uneasy, like it is
: abusing the language or something..
: I wish there was some kind of "officially sanctioned" version of this,
: that implied (or even enforced) that the loop was meant to be exited
: with a break, somthing like
: loop:
: ...
: if ():
: break
: ...
: if ():
: break
I use this in my programs:
forever = 1
...
while forever:
....
just my 2 cents...
--
-----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__ garabik @ fmph.uniba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
More information about the Python-list
mailing list