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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1f8b4cce7e72b123 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-26 07:26:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <20011025214647.2788a60b.egm2@jps.net> Subject: Re: Arrays and Access types... Message-ID: <%neC7.1452$xS6.2046@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 26 Oct 2001 10:26:03 EDT Organization: http://www.newsranger.com Date: Fri, 26 Oct 2001 14:26:03 GMT Xref: archiver1.google.com comp.lang.ada:15248 Date: 2001-10-26T14:26:03+00:00 List-Id: In article <20011025214647.2788a60b.egm2@jps.net>, Eric G. Miller says... >New to Ada and trying to figure out how to deal with arbitrary >slices of arrays. I defined an array type and an access type >for it, but I can't seem to figure out how to take a slice of Stop right there. You almost *never* need pointers (access types) in simple Ada programs. If you find yourself using them, you are almost certianly doing something wrong. As a beginner, pretend access types don't exist for a while. Try to do everything without them. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.