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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,10dba3294c1a2195 X-Google-Attributes: gid103376,public From: Al Johnston Subject: Re: New to ada95: porting Date: 2000/03/01 Message-ID: <38BD9A4F.9F01D7EC@mindspring.com>#1/1 X-Deja-AN: 591964017 Content-Transfer-Encoding: 7bit References: <38BB6D88.84BBF5BF@mindspring.com> <8uLu4.15698$yt2.371252@nnrp3-w.snfc21.pbi.net> <38BC5237.91FD3B95@mindspring.com> <290220002229510086%nospam@nospam.com> X-Accept-Language: en X-Server-Date: 1 Mar 2000 22:33:45 GMT Content-Type: text/plain; charset=us-ascii Organization: MindSpring Enterprises Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-03-01T22:33:45+00:00 List-Id: > post the data structure for the dope vector and perhaps we can come up > with something more concreate. Not sure what your asking for here... what we use in ada our ada83 code that manipulates the the vector is as follows: type Dope_Vector is record element_size : integer; low_bound : integer; hight_bound : integer; array_size : integer; end if; The doc says the following: an array(I_1, I_2, ... I_N) of element_type has a dope vector as follows: low addres (each cell a 32 bit entity) E_0 = element_size F_1 = I_1'first L_1 = I_1'last E_1 = (L_1-F_1-1) * E_0 F_2 = I_2'first L_2 = I_2'last . . . F_N = I_N'first L_N = I_N'last E_N = (L_N-F_N-1) * E(N-1) hi address but our worst case is a 2-d version.