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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e61c8636ef35379d X-Google-Attributes: gid103376,public From: Jean Cohen Subject: RE: Escape Sequences in Strings Date: 2000/11/16 Message-ID: <3A2FA734@MailAndNews.com>#1/1 X-Deja-AN: 694495090 Content-Transfer-Encoding: 7bit X-EXP32-SerialNo: 00000000 Sender: Jean Cohen Content-Type: text/plain; charset="ISO-8859-1" X-Complaints-To: newsabuse@supernews.com X-InterChange-Posted-By: jean.cohen@MailAndNews.com Organization: Posted via Supernews, http://www.supernews.com Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-11-16T00:00:00+00:00 List-Id: >===== Original Message From Marin David Condic ===== >John English wrote: > >> Hey guys, I agree completely, but I wanted to give a *short* answer, >> not a complete package hierarchy with all the trimmings... and I >> said it wasn't the way to go anyway... Give us a break! > >Good point. Sometimes we tend to "over answer" a question, possibly leading >a newbie to believe that Ada is just too complicated to do what they want. >With the original question, I thought the best thing was to explain how to >do what the questioner wanted to do - use escape codes in a string. >Presumably, if he learns this much, Ada is now useful to him. As he moves >along with learning the language, it will probably become clear that there >are better ways of structuring code to manipulate the cursor. Possibly, he >was already in the process of building such a package and just wanted to >know how to implement the low-level features? (Even in C++, you'd isolate >this kind of thing at a low level - or learn rather quickly that you >*should* have! :-) > >Let's keep the life of a newbie comfortable and possibly just suggest that >there *are* better ways and wait to see if they ask... Yours and others replies were very helpful regarding my original question. John English answered my post just as I expected an answer to be like. The additional comments were nevertheless helpful as well (specifically the mention of the Latin1 character set and streams), since they illustrate a little of "The Ada Way" of doing things. So again - thank you all! Kind regards, Jean Cohen