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-Thread: 103376,7272aa7508a3d83f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: pointer questions References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 27 Oct 2005 05:56:48 GMT NNTP-Posting-Host: 67.3.219.191 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1130392608 67.3.219.191 (Wed, 26 Oct 2005 22:56:48 PDT) NNTP-Posting-Date: Wed, 26 Oct 2005 22:56:48 PDT Xref: g2news1.google.com comp.lang.ada:5979 Date: 2005-10-27T05:56:48+00:00 List-Id: Szymon Guz wrote: > I've got some maybe stupid questions but I don't understand some things: > > 1. Is there a pointer like (void *) from C that points to anything ? > > 2. Is there a universal (like above) pointer for procedure|function that > can point to any kind of procedure|funcion ? The short answer, as you've already heard, is No. The long answer is that you'll never need these to use Ada. In fact, you'll rarely need pointers at all. If you think you do, especially for beginning Ada, then you're probably misunderstanding something. About the only time you'd need anything like these is when interfacing to C. Judging from your questions, I suspect your understanding of Ada is not yet at a level where you should be doing that. -- Jeff Carter "From this day on, the official language of San Marcos will be Swedish." Bananas 28