comp.lang.ada
 help / color / mirror / Atom feed
* Universal Integer in TO_ADDRESS call
@ 1999-05-29  0:00 David Akister
  1999-05-29  0:00 ` Robert Dewar
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Akister @ 1999-05-29  0:00 UTC (permalink / 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







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-06-06  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-29  0:00 Universal Integer in TO_ADDRESS call David Akister
1999-05-29  0:00 ` 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

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