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:a05:620a:1434:b0:67d:40a2:da33 with SMTP id k20-20020a05620a143400b0067d40a2da33mr7939910qkj.93.1648235098422; Fri, 25 Mar 2022 12:04:58 -0700 (PDT) X-Received: by 2002:a81:8d4a:0:b0:2ca:287c:6d3f with SMTP id w10-20020a818d4a000000b002ca287c6d3fmr11861710ywj.484.1648235098144; Fri, 25 Mar 2022 12:04:58 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!border1.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:04:57 -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: Subject: What is the name of the | symbol? From: Matt Jaffe Injection-Date: Fri, 25 Mar 2022 19:04:58 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:63639 List-Id: In using it in a named association array aggregate, its semantic are "and" = --- e.g., some_1D_array :=3D (1 | 3 | 7 =3D> 5, others =3D> 10) sets elemen= ts 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 1, 3, or 7 for the c= ase expression will select the ... code for execution. Is there a single n= ame for that symbol (the | ) that seems to have different semantics depend= ing on context?