comp.lang.ada
 help / color / mirror / Atom feed
* Overlapping ranges
@ 2003-06-22  0:40 AG
  2003-06-22  1:23 ` Mark A. Biggar
  2003-06-29  0:36 ` Richard Riehle
  0 siblings, 2 replies; 13+ messages in thread
From: AG @ 2003-06-22  0:40 UTC (permalink / raw)


Assuming I have a package declaration like this:


package range is
  type x1 is range 0..255;
  type x2 is range 127..2**15-1;
end ranges;


Is there a way to declare a function
using that package that will accept
values of either x1 or x2 (and nothing
else) restricted to the range 127..255 ?





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

end of thread, other threads:[~2003-06-29 18:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-22  0:40 Overlapping ranges AG
2003-06-22  1:23 ` Mark A. Biggar
2003-06-22  2:58   ` AG
2003-06-22  3:17     ` tmoran
2003-06-22 17:55   ` Robert I. Eachus
2003-06-23  9:05     ` AG
2003-06-23 10:46       ` David C. Hoos
2003-06-24  8:09         ` AG
2003-06-29  0:36 ` Richard Riehle
2003-06-29  6:24   ` AG
2003-06-29  6:42     ` AG
2003-06-29 18:40       ` Richard Riehle
2003-06-29 18:49     ` Richard Riehle

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