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 04:02:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mail From: "Petter Fryklund" Newsgroups: comp.lang.ada Subject: Rep spec still not possible. Date: Thu, 18 Oct 2001 13:03:31 +0200 Organization: ericsson Message-ID: <9qmbk4$jhb$1@newstoo.ericsson.se> References: <3BCDA15C.2976AF2@icn.siemens.de> <3BCDB1B0.52D3B04C@icn.siemens.de> NNTP-Posting-Host: 172.17.76.206 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Xref: archiver1.google.com comp.lang.ada:14871 Date: 2001-10-18T13:03:31+02:00 List-Id: generic type Indices is range <>; package Structure is type My_Array is array (Indices) of Integer; type S is record X,Y : Integer; A : My_Array; end record; My_Array_Length : constant Integer := Integer ((Indices'Last - Indices'First + 1) * 8); for S use record X at 0 range 0 .. 31; Y at 4 range 0 .. 31; A at 8 range 0 .. My_Array_Length - 1; <--- Expression not static. end record; end Structure; I've been in this alley before but I didn't find may way around, does anybody have any suggestions?