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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,136a2b49b817b53c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-26 13:08:06 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!oleane.net!oleane!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Binary Data File - PLEASE HELP Date: Mon, 26 Mar 2001 15:55:00 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <99oabd$8e2$1@nh.pace.co.uk> References: <99nl9l$17s$1@nh.pace.co.uk> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 985640109 8642 136.170.200.133 (26 Mar 2001 20:55:09 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 26 Mar 2001 20:55:09 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com comp.lang.ada:6077 Date: 2001-03-26T20:55:09+00:00 List-Id: It is, in a way, a reasonable question. What bothered me was that it was entirely coded up in C, but no attempt to code anything similar in Ada. One would expect to see some code with a question of the form "Why won't feature X work?" Or a more general sort of question like "How do I read binary files in Ada?" rather than an example in C and an apparent request for an Ada translation... That was why I kind of thought it might be homework. You're right about this being a rather common question. I think I have an example of similar code on my web site, but I can't get there at the moment to make sure. A small program to, perhaps, hex-dump an arbitrary file would be a good example. Clearly, AdaPower would be a good place for it. Thanks for the kudos on my civility. I've strived to be a civilian all my life. :-) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Ted Dennison" wrote in message news:k5Nv6.2984$fy.5082@www.newsranger.com... > > But the first posting was still a reasonable question, which deserves a > resonable answer. Others out there are probably curious about the same thing. I > hope we can all strive to keep it as civil as Marin has, despite the flame-bait. > >