From: Al Johnston <sofeise@mindspring.com>
Subject: Re: New to ada95: porting
Date: 2000/03/01
Date: 2000-03-01T22:33:45+00:00 [thread overview]
Message-ID: <38BD9A4F.9F01D7EC@mindspring.com> (raw)
In-Reply-To: 290220002229510086%nospam@nospam.com
> 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.
next prev parent reply other threads:[~2000-03-01 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-28 0:00 New to ada95: porting Al Johnston
2000-02-29 0:00 ` James S. Rogers
2000-02-29 0:00 ` Al Johnston
2000-02-29 0:00 ` tmoran
2000-02-29 0:00 ` Al Johnston
2000-02-29 0:00 ` james hopper
2000-03-01 0:00 ` Al Johnston [this message]
2000-03-01 0:00 ` tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox