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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: array question Date: Sun, 09 Feb 2014 22:39:06 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <2migf9h07j7ll0eqk7oh3e64m1e0lv3r5r@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 10 Feb 2014 05:39:11 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6bab1dce10a849dba13303bd95a0f77d"; logging-data="21826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hOYHy1b5sDAwFep4RMaBSOhdsepTgEn4=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <2migf9h07j7ll0eqk7oh3e64m1e0lv3r5r@4ax.com> Cancel-Lock: sha1:Oya1EM3HyKV9J/Ty3qWgKri2V3c= Xref: news.eternal-september.org comp.lang.ada:18464 Date: 2014-02-09T22:39:06-07:00 List-Id: On 02/09/2014 08:49 PM, agent@drrob1.com wrote: > I would like to define a array that can use a character as its index. > type FSATyp is (Delim, Op, Dgt, AllElse); > > FsaArray : ARRAY Character range ('' .. Character'Val(255)) OF FSATyp; The syntax for an array definition is given in ARM 3.6 (http://www.adaic.org/resources/add_content/standards/12rm/html/RM-3-6.html). -- Jeff Carter "I've got to stay here, but there's no reason why you folks shouldn't go out into the lobby until this thing blows over." Horse Feathers 50