The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: John Cowan <cowan@ccil.org>
To: Bakul Shah <bakul@iitbombay.org>
Cc: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] [multicians] History of C (with Multics reference)
Date: Wed, 17 Feb 2021 22:23:26 -0500	[thread overview]
Message-ID: <CAD2gp_TRXD_UA4bRC8P8=epOqSr1X=jNU5DO45g0bb7_c7oc3Q@mail.gmail.com> (raw)
In-Reply-To: <E9F18327-B14A-4001-B11C-EDA26D997A6E@iitbombay.org>

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

On Wed, Feb 17, 2021 at 12:52 AM Bakul Shah <bakul@iitbombay.org> wrote:


> The goto operator is "-> label", while assignment is "var <- value"
>

I overstated the case.  However, goto is in fact "-> expression", where
expression is an integer scalar referring to a line (implicitly numbered
from 1 upwards) of the current definition; a goto to  a nonexistent line
such as 0 exits the current definition or program.  Labels were added
later, and are essentially local variables bound to the line number they
appear on.  Modern APL uses structured-programming constructs like all
other post-Ratfor languages.



John Cowan          http://vrici.lojban.org/~cowan        cowan@ccil.org
One of the oil men in heaven started a rumor of a gusher down in hell.  All
the other oil men left in a hurry for hell.  As he gets to thinking about
the rumor he had started he says to himself there might be something in
it after all.  So he leaves for hell in a hurry.    --Carl Sandburg

[-- Attachment #2: Type: text/html, Size: 2182 bytes --]

      reply	other threads:[~2021-02-18  3:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1607711516.31417164@apps.rackspace.com>
     [not found] ` <30368.1613327707837544705@groups.io>
2021-02-14 19:08   ` [TUHS] Fwd: " Dan Cross
2021-02-16  6:31     ` John Gilmore
2021-02-17  3:49       ` John Cowan
2021-02-17  4:14         ` Dave Horsfall
2021-02-17  5:51           ` [TUHS] " Bakul Shah
2021-02-18  3:23             ` John Cowan [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to='CAD2gp_TRXD_UA4bRC8P8=epOqSr1X=jNU5DO45g0bb7_c7oc3Q@mail.gmail.com' \
    --to=cowan@ccil.org \
    --cc=bakul@iitbombay.org \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).