From: Hellwig Geisse <hellwig.geisse@mni.thm.de>
To: Dave Horsfall <dave@horsfall.org>,
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 00:11:28 +0100 [thread overview]
Message-ID: <1611184288.26419.9.camel@mni.thm.de> (raw)
In-Reply-To: <alpine.BSF.2.21.9999.2101210915320.95135@aneurin.horsfall.org>
On Do, 2021-01-21 at 09:17 +1100, Dave Horsfall wrote:
> 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...
>
I think it doesn't matter if the index expression is
a constant expression or not. The point here, as I
understood, is the definition of an unnamed (and not
explicitly typed) array "on the fly".
Hellwig
next prev parent reply other threads:[~2021-01-20 23:28 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
2021-01-20 23:11 ` Hellwig Geisse [this message]
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=1611184288.26419.9.camel@mni.thm.de \
--to=hellwig.geisse@mni.thm.de \
--cc=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).