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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ca6e1940d239274 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-18 10:53:23 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!zur.uu.net!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: Rep spec still not possible. X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3BCF0D06.DD1D45F6@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <3BCDA15C.2976AF2@icn.siemens.de> <3BCDB1B0.52D3B04C@icn.siemens.de> <9qmbk4$jhb$1@newstoo.ericsson.se> Mime-Version: 1.0 Date: Thu, 18 Oct 2001 17:10:30 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:14900 Date: 2001-10-18T17:10:30+00:00 List-Id: Lutz Donnerhacke wrote: > > * Petter Fryklund wrote: > > generic > > type Indices is range <>; > > package Structure is > > type My_Array is array (Indices) of Integer; > > > > My_Array_Length : constant Integer := > > Integer ((Indices'Last - Indices'First + 1) * 8); This seems wrong. What you want is probably My_Array'Size. Since it's not static, the value is useless for a rep clause anyway. -- Jeffrey Carter