From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a05:620a:205d:: with SMTP id d29mr425122qka.152.1572888381085; Mon, 04 Nov 2019 09:26:21 -0800 (PST) X-Received: by 2002:a9d:6c4f:: with SMTP id g15mr6866908otq.76.1572888380696; Mon, 04 Nov 2019 09:26:20 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!j16no10367956qtl.0!news-out.google.com!g53ni636qtg.0!nntp.google.com!j16no10367950qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 4 Nov 2019 09:26:16 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2607:fb90:e74:e208:3c27:fd85:8bf2:69a3; posting-account=3pYsyQoAAACcI-ym7XtMOI2PDU8gRZS5 NNTP-Posting-Host: 2607:fb90:e74:e208:3c27:fd85:8bf2:69a3 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: How to best make a custom range? From: Andrew Shvets Injection-Date: Mon, 04 Nov 2019 17:26:21 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1789 X-Received-Body-CRC: 954088988 Xref: reader01.eternal-september.org comp.lang.ada:57467 Date: 2019-11-04T09:26:16-08:00 List-Id: Lets say I have the following code: subtype Test_Char is Character range =E2=80=98A=E2=80=99 .. =E2=80=98Z=E2= =80=99; But what if I wanted to include =E2=80=98&=E2=80=99, =E2=80=98@=E2=80=98 an= d =E2=80=98?=E2=80=99 in this custom range of characters as well? I though= t of doing the following, but this obviously failed: subtype Test_Char is Character range =E2=80=98@=E2=80=98 | =E2=80=98&=E2=80= =99 | =E2=80=98?=E2=80=99 | =E2=80=98A=E2=80=99 .. =E2=80=98Z=E2=80=99; Or is this impossible unless I use a different approach?