From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f8a66fb9d0293bf4,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: xadian Newsgroups: comp.lang.ada Subject: Passing arrays to procedures Date: Wed, 22 Dec 2004 15:34:33 +0100 Organization: T-Online Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1103726046 00 22935 1qbZrdaLw33sSTlA 041222 14:34:06 X-Complaints-To: usenet-abuse@t-online.de X-ID: bc7LaYZvoeNSZlElM1WpUxZw9U2Z0oCnsO+SjBM7iFpbI4rgjiDKo- User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en Xref: g2news1.google.com comp.lang.ada:7163 Date: 2004-12-22T15:34:33+01:00 List-Id: Hi, I just wanted to pass an array to a procedure. A procedure head like this: procedure procname (n : in Integer; v1 : in array;) is ... it causes the following error: anonymous array definition not allowed here. Same for array(Integer range 1..2) of Integer. The procedure is an extra file so there are no arraynames of the main procedure available for the parameter part. Anyone knows why this error occurs and how to fix it?! thx Xadian