The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Dave Horsfall <dave@horsfall.org>
To: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] bas(1) and bs(1) videos including features and use
Date: Thu, 21 Jan 2021 09:17:30 +1100 (EST)	[thread overview]
Message-ID: <alpine.BSF.2.21.9999.2101210915320.95135@aneurin.horsfall.org> (raw)
In-Reply-To: <CAKH6PiX6aQ1cDOteK-An81NrMfVbJCQZ=5bOr2CUoTvQ_mKRTA@mail.gmail.com>

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

On Wed, 20 Jan 2021, M Douglas McIlroy wrote:

> Nice archaeology. Blinded by my distaste for Basic , I never bothered to try
> bs--and should have. Dave has highlighted features that deserve respect.One
> telling example suggests this should be legalized in C:
>         printf("%s\n", {"true", "false"}[1]);

That would evaluate to a constant being printed (it's a direct array 
reference).  Did you mean something like "...[i]" instead?  That would 
indeed be neat...

-- Dave

  reply	other threads:[~2021-01-20 22:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 16:56 M Douglas McIlroy
2021-01-20 22:17 ` Dave Horsfall [this message]
2021-01-20 23:11   ` Hellwig Geisse
2021-01-21  7:30     ` Sudipto Mallick
2021-01-28 21:15     ` Dave Horsfall
  -- strict thread matches above, loose matches on Subject: below --
2021-01-20 14:05 Dave Plonka
2021-01-20 14:17 ` Andy Kosela

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=alpine.BSF.2.21.9999.2101210915320.95135@aneurin.horsfall.org \
    --to=dave@horsfall.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).