comp.lang.ada
 help / color / mirror / Atom feed
From: "David Akister" <dakister@compd.com>
Subject: Universal Integer in TO_ADDRESS call
Date: 1999/05/29
Date: 1999-05-29T00:00:00+00:00	[thread overview]
Message-ID: <375004b1@news.compd.com> (raw)

I am trying to do a TO_ADDRESS type conversion while using XDADA. The two
parameter types supported by the compiler are {universal integer} and
ADDRESS_INT.

ADDRESS_INT is too short to be used and universal integer relies on  the
parameter being a named-number.

The existing code uses named numbers as constants without types in the
declaration. They of course adopt the universal integer and everything is
fine.

I need to modify the code and add offsets taken from an array to this value
and the compiler doesn't like it because the parameter is no longer of type
universal-integer. The way I understand it is that universal integer applies
to named-numbers only. Is it possible to declare any array of constants
which will adopt the universal integer type ? Or can anyone help with an
alternative ?

Any help much appreciated
Dave Akister







             reply	other threads:[~1999-05-29  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-29  0:00 David Akister [this message]
1999-05-29  0:00 ` Universal Integer in TO_ADDRESS call Robert Dewar
1999-05-30  0:00 ` Vincent P. Amiot
1999-05-30  0:00   ` Robert Dewar
1999-05-30  0:00     ` David Akister
1999-05-31  0:00       ` Robert Dewar
1999-06-06  0:00 ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox