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,e61c8636ef35379d X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Re: Escape Sequences in Strings Date: 2000/11/16 Message-ID: <3A13EE02.E8109E49@acm.org>#1/1 X-Deja-AN: 694332968 Content-Transfer-Encoding: 7bit References: <3A17B0E2@MailAndNews.com> <3A1275A2.F2A843E9@bton.ac.uk> <8uub09$9sr$1@nnrp1.deja.com> <8uump3$s3o$1@news.huji.ac.il> <3A13C41E.FCBDD34C@bton.ac.uk> X-Accept-Language: en X-Server-Date: 16 Nov 2000 14:24:28 GMT Content-Type: text/plain; charset=us-ascii Organization: Quadrus Corporation Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-11-16T14:24:28+00:00 List-Id: 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... MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Giving money and power to Government is like giving whiskey and car keys to teenage boys." -- P. J. O'Rourke ======================================================================