Computer Old Farts Forum
 help / color / mirror / Atom feed
From: Ralph Corderoy <>
Subject: [COFF] continue N. (Was: I can't drive 55...)
Date: Sat, 11 Mar 2023 11:25:08 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Hi Steffen,


> Very often i find myself needing a restart necessity, so "continue
> N" would that be.  Then again when "N" is a number instead of
> a label this is a (let alone maintainance) mess but for shortest
> code paths.

Do you mean ‘continue’ which re-tests the condition or more like Perl's
‘redo’ which re-starts the loop's body?

   ‘The "redo" command restarts the loop block without evaluating the
    conditional again.  The "continue" block, if any, is not executed.’
        — perldoc -f redo

So like a ‘goto redo’ in

        while (...) {
            if (...)
                goto redo

Cheers, Ralph.

       reply	other threads:[~2023-03-11 11:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
     [not found] ` <>
     [not found]   ` <>
     [not found]     ` <>
     [not found]       ` <>
2023-03-11 11:25         ` Ralph Corderoy [this message]
2023-03-11 15:42           ` [COFF] " Paul Winalski
2023-03-11 17:51           ` Steffen Nurpmeso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).