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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aa7f494bf30adbc7 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: [newbie] simple(?) data structures Date: Wed, 16 Jun 2004 21:05:19 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <2j1e30Fsrg8vU1@uni-berlin.de> <2jao1qFvj2rgU1@uni-berlin.de> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1087419919 4044 134.91.1.34 (16 Jun 2004 21:05:19 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Wed, 16 Jun 2004 21:05:19 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:1588 Date: 2004-06-16T21:05:19+00:00 List-Id: Roland Illig wrote: : type Stone_Array_Access is access Stone_Array; If I understand correctly, you will have no more than 19 x 19 lines, right? So, (a) This is a small amount of memory per board, either "reserved" in the program text, or allocated on the stack during a run. (b) if you are worried about objects of this type being passed around costly, no need :-) The compiler will make a good decision whether to use by copy or by reference, irrespective of the parameter mode (in, out, in out). Any particular reason why you want to use a pointer?