comp.lang.ada
 help / color / mirror / Atom feed
* unconstrainded array question
@ 1998-09-19  0:00 Technobabble
  1998-09-19  0:00 ` Tucker Taft
  1998-09-19  0:00 ` Tom Moran
  0 siblings, 2 replies; 7+ messages in thread
From: Technobabble @ 1998-09-19  0:00 UTC (permalink / raw)


Greetings,

anyone know if it is legal or not in Ada95 to use a RANGE attribute on
an unconstrained array, as in the example:


package My_Package is

  procedure XYZ (This : in Object);

  type UC_Array is array (integer <>) of integer;
  xyz : AC_Array (1..100);


end My_Package;

then in the body ....
procedure XYZ (This : Object) is
begin

     for I in This.xyz'RANGE
         loop 
          ......
end XYZ;


Thanks,
Richmond




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

end of thread, other threads:[~1998-09-19  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-19  0:00 unconstrainded array question Technobabble
1998-09-19  0:00 ` Tucker Taft
1998-09-19  0:00 ` Tom Moran
1998-09-19  0:00   ` dewarr
1998-09-19  0:00   ` dewarr
1998-09-19  0:00   ` Technobabble
1998-09-19  0:00     ` dewarr

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