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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd0c95dbf4f2c5c2 X-Google-Attributes: gid103376,public From: klhui Subject: Re: How to write a list in Ada95??? Date: 2000/10/22 Message-ID: <39F30BCC.1BB47B7F@mailserv.cuhk.edu.hk>#1/1 X-Deja-AN: 684481116 Content-Transfer-Encoding: 7bit References: <39F2E8A3.563B3616@hotmail.com> <39F3004E.E9EF5FA5@worldnet.att.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-10-22T00:00:00+00:00 List-Id: sorry, as i have alreayd read the web page and see the example in the Gnat compiler, i can't understand how can i print the list element........ how can i get help??? (i have define an integer list that has a pointer points to a record(The record has an integer variables and a pointer to the next) James Rogers wrote: > kluhi, > > This looks a lot like a homework assignment. > > I will point you to some examples of linked lists in Ada. > > If you have access to the GNAT compiler, you will find an example > of a linked list in its "examples" directory. > > If you have access to the web, you will find examples of linked > lists in the "source" section of www.adapower.com. > > Jim Rogers > Colorado Springs, Colorado > > klhui wrote: > > > > I am a new user, how can i write an integer list by using the access > > type??? > > And also how can i print the whole list???? > > Thanks for reply