From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:7f82:0:b0:2e1:caba:ad6e with SMTP id z2-20020ac87f82000000b002e1cabaad6emr10737909qtj.190.1648235765234; Fri, 25 Mar 2022 12:16:05 -0700 (PDT) X-Received: by 2002:a81:3247:0:b0:2e5:cd9e:852b with SMTP id y68-20020a813247000000b002e5cd9e852bmr12637264ywy.242.1648235764911; Fri, 25 Mar 2022 12:16:04 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 25 Mar 2022 12:16:04 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=67.60.105.60; posting-account=gQF3jAoAAABoaiz3fV1hQ7bEbL48C-fl NNTP-Posting-Host: 67.60.105.60 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8c89d912-0672-4e86-b4f3-7893ef0e7183n@googlegroups.com> Subject: What is the name of the | symbol? From: Matt Jaffe Injection-Date: Fri, 25 Mar 2022 19:16:05 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:63640 List-Id: In using it in a named association array aggregate, its semantics are "and"= --- e.g., some_1D_array :=3D (1 | 3 | 7 =3D> 5, others =3D> 10) sets eleme= nts 1 and 3 and 7 to the value 5. In a case statement, its semantics are "o= r" --- e.g. when 1 | 3 | 7 =3D> ... any of the values 1or 3, or 7 for the c= ase expression will select the ... code for execution. Is there a single na= me for that symbol (the | ) that seems to have different semantics dependin= g on context?