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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a11ee61547f174e X-Google-Attributes: gid103376,public From: "Ken Garlington" Subject: Re: Constants Date: 2000/04/13 Message-ID: <2JiJ4.24039$hh2.558683@news.flash.net>#1/1 X-Deja-AN: 610632018 References: <955594340.98330@srv1.space.net.au> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 955627454 216.215.89.195 (Thu, 13 Apr 2000 07:04:14 CDT) Organization: FlashNet Communications, http://www.flash.net X-MSMail-Priority: Normal NNTP-Posting-Date: Thu, 13 Apr 2000 07:04:14 CDT Newsgroups: comp.lang.ada Date: 2000-04-13T00:00:00+00:00 List-Id: "version_x" wrote in message news:955594340.98330@srv1.space.net.au... > is it possible to specifiy a constant as a ranger of integers between to > numbers? If you're using the term "constant" in an informal sense; i.e. "something that won't change after you've defined it", I suppose any of the following might be what you're looking for... type Ranger_of_Integers is range 1 .. 10; subtype Ranger_of_Integers is Integer range 1 .. 10; Ranger_of_Integers: constant array (1..2) of Integer := (1,10); type Ranger_of_Integers is record First: Integer := 1; Last: Integer := 10; end record; etc...