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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ef6c792702c0ff46 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: ada to c interfaces and CHARS_PTR Date: 2000/03/15 Message-ID: <8ao31h$ile$1@nnrp1.deja.com>#1/1 X-Deja-AN: 597781232 References: <38C7E515.29C42580@mindspring.com> <38CF17B8.D6CCA3BF@mindspring.com> X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Mar 15 13:26:12 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-03-15T00:00:00+00:00 List-Id: In article <38CF17B8.D6CCA3BF@mindspring.com>, Al Johnston wrote: > > > > If you do this, you're missing a lot of typechecking. > > thanks for the example... I am really surprised at the lack of > examples in this area. That presumably is a comment about the text book you are using (which I don't think you identified). I hope you are not talking about the RM here. The RM is not intended as a text book to learn from! It is a reference source for those who already know Ada pretty well. About the only exception is Annex A which is a reasonably accessible description of the available standard libraries. Otherwise most people will not want to learn from the RM (I am peculiar, I hate examples, they seem useless, and I prefer to learn languages from the standard -- I even learned COBOL from the ANSI standard, but for most people the RM is NOT the way to learn, and most people like to learn from example. The reason by the way that I dislike examples is that at best they are incomplete and do not define the rules exactly, and at worst they are wrong (note that the examples in the RM are not part of the normative text, so have no influence at all on the definition of the language). But the fact remains that most people like to learn by example, and that is why all auxiliary material like manuals and text books should be full of examples, including ones of the kind asked for in this post. Sent via Deja.com http://www.deja.com/ Before you buy.