I'm trying to declare a new type so I can pass an array as an argument to a procedure. It looks like this:
type Arr_Type is array(1..1000) of String;
procedure proceed(Arg1: in Arr_Type) is
begin
<program body>
end
Whenever I try and compile this, I receive a "compilation unit expected" error. If I remove the type declaration, I no longer get the error, but I obviously need it and I get an error if I put it anywhere else in the file. I'm a little new to Ada so I'm not entirely sure what's happening here.