* subtype range not of parent type?
@ 2002-07-09 16:10 Wes Groleau
2002-07-09 16:13 ` Wes Groleau
0 siblings, 1 reply; 2+ messages in thread
From: Wes Groleau @ 2002-07-09 16:10 UTC (permalink / raw)
package User_defined is
type integer_32_bit is range .....;
for integer_32_bit'size use 32;
....
Start : constant User_defined.integer_32_bit := 1;
Finish : constant User_defined.integer_32_bit := 10;
-- These constants are of this type, no?
X : positive := Start; -- is this legal?
Y : index := Start; -- how about this?
subtype index is positive range start .. finish;
-- and finally .... ?
--
Wes Groleau
http://freepages.rootsweb.com/~wgroleau
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-09 16:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09 16:10 subtype range not of parent type? Wes Groleau
2002-07-09 16:13 ` Wes Groleau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox