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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f822ae7b0f7433c1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Translating an embedded C algorithm Date: Thu, 18 Jan 2007 19:50:20 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1168871816.263502.212100@11g2000cwr.googlegroups.com> <45acc0c3$0$22514$39db0f71@news.song.fi> <45af9c60$0$22524$39db0f71@news.song.fi> <45afe4a6$0$22512$39db0f71@news.song.fi> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1169167820 26306 192.74.137.71 (19 Jan 2007 00:50:20 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 19 Jan 2007 00:50:20 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:RKCs4I77XkDGg3SvOUc2gWMArMQ= Xref: g2news2.google.com comp.lang.ada:8295 Date: 2007-01-18T19:50:20-05:00 List-Id: Niklas Holsti writes: >...and I certainly consider that alternative when I > design a variant record type, but I defend my right to use the above > approach, too, when it suits me. :-) Perfectly reasonable. But the OP just wants a half-page of C code translated into nice-looking Ada code. We don't need to provide a demo of every Ada feature under the Sun! - Bob