-
-
Save jsinglet/fefc2c3dab23d43096922fee7dcc297f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Procedure Main is | |
type My_Array_Type is array (Natural range<>) of Integer; | |
procedure Do_Stuff(Things : aliased in out My_Array_Type) is | |
begin | |
for I in Things'Range loop | |
null; | |
end loop; | |
end Do_Stuff; | |
procedure Do_Stuff(Num_Things : Integer) is | |
Things : aliased My_Array_Type(1..Num_Things); | |
begin | |
Do_Stuff(Things); | |
end Do_Stuff; | |
begin | |
Do_Stuff(1000); | |
end Main; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment