while true: !!!
Remco Gerlich
scarblac at pino.selwerd.nl
Sat Dec 16 05:34:06 EST 2000
Oldayz <sill at localhost.kitenet.net> wrote in comp.lang.python:
> Hey, how about if you think while 1: looks ugly
> you do true = 1 somewhere on top and use
> while true: ? I think it's much more obvious
> and clean and you don't need to change syntax.
Yes! And you don't need the ugly "break" statement, you can simply do
"true = 0" and the loop will end! (Remember to set it back to 1 later)
#define-THIRTEEN-12-ly-yrs,
Remco Gerlich
More information about the Python-list
mailing list