Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49239
| X-Received | by 10.224.42.141 with SMTP id s13mr3284554qae.3.1372240835933; Wed, 26 Jun 2013 03:00:35 -0700 (PDT) |
|---|---|
| X-Received | by 10.49.1.112 with SMTP id 16mr75558qel.20.1372240835917; Wed, 26 Jun 2013 03:00:35 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!j2no1491634qak.0!news-out.google.com!fv2ni168qab.0!nntp.google.com!j2no2693913qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Wed, 26 Jun 2013 03:00:35 -0700 (PDT) |
| In-Reply-To | <mailman.3867.1372207232.3114.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=193.203.82.231; posting-account=brMX7QoAAACp1VlX0gcUmoz7EYoMJCQ1 |
| NNTP-Posting-Host | 193.203.82.231 |
| References | <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com> <mailman.3773.1372110329.3114.python-list@python.org> <8f813b85-9a4e-4612-82b1-dd58f9bfd497@googlegroups.com> <mailman.3867.1372207232.3114.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <a5a660b9-5e96-4e97-a6f2-3e8bb2749259@googlegroups.com> (permalink) |
| Subject | Re: Is this PEP-able? fwhile |
| From | jfharden@gmail.com |
| Injection-Date | Wed, 26 Jun 2013 10:00:35 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.python:49239 |
Show key headers only | View raw
On Wednesday, 26 June 2013 01:40:22 UTC+1, Dennis Lee Bieber wrote:
> (hmmm, does any
> language have a continue that can go to the next iteration of an outer
> loop?)
Perl allows next with a label:
> perldoc -f next
next LABEL
next The "next" command is like the "continue" statement in C; it
starts the next iteration of the loop:
LINE: while (<STDIN>) {
next LINE if /^#/; # discard comments
#...
}
Note that if there were a "continue" block on the above, it
would get executed even on discarded lines. If the LABEL is
omitted, the command refers to the innermost enclosing loop.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Is this PEP-able? fwhile Chris Angelico <rosuav@gmail.com> - 2013-06-25 07:38 +1000
Re: Is this PEP-able? fwhile rusi <rustompmody@gmail.com> - 2013-06-24 19:01 -0700
Re: Is this PEP-able? fwhile Chris Angelico <rosuav@gmail.com> - 2013-06-25 13:54 +1000
Re: Is this PEP-able? fwhile Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-06-24 21:20 -0700
Re: Is this PEP-able? fwhile Chris Angelico <rosuav@gmail.com> - 2013-06-25 17:21 +1000
Re: Is this PEP-able? fwhile Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-25 10:00 -0600
Re: Is this PEP-able? fwhile rusi <rustompmody@gmail.com> - 2013-06-25 09:19 -0700
Re: Is this PEP-able? fwhile Neil Cerutti <neilc@norwich.edu> - 2013-06-26 13:09 +0000
Re: Is this PEP-able? fwhile Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-25 20:40 -0400
Re: Is this PEP-able? fwhile jfharden@gmail.com - 2013-06-26 03:00 -0700
Re: Is this PEP-able? fwhile Jerry Peters <jerry@example.invalid> - 2013-06-26 19:56 +0000
csiph-web