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,b1eee69712c08551 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: how to reverse output of a line using ada Date: 2000/11/21 Message-ID: <8vesff$ag4$1@nnrp1.deja.com>#1/1 X-Deja-AN: 696332962 References: <8ve870$4fkkm$1@ID-62217.news.dfncis.de> X-Http-Proxy: 1.0 x73.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 21 22:20:40 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001010 Date: 2000-11-21T00:00:00+00:00 List-Id: In article <8ve870$4fkkm$1@ID-62217.news.dfncis.de>, "Florian Paulus" wrote: > I got the following task: (task = homework?) > my program shall read a line and display it reversed. > > e.g. "World" should become "dlroW" > > is there any way to do this in Ada? i couldn't find any hint With older versions of the GreenHills Compiler, you could do this by writing it to a stream. :-) (That's now fixed, I understand). -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.