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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2370fc34f084c855 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-01 19:07:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.columbus.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3D49E975.F87A668@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: creating a 16 bit value from 2 8 bit values in Ada References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 02 Aug 2002 02:07:24 GMT NNTP-Posting-Host: 66.74.216.166 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1028254044 66.74.216.166 (Thu, 01 Aug 2002 19:07:24 PDT) NNTP-Posting-Date: Thu, 01 Aug 2002 19:07:24 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:27594 Date: 2002-08-02T02:07:24+00:00 List-Id: Mark wrote: > Could someone show me how to concatenate the Hi and Lo components? > The end result - obviously - would be a 16 bit value. I've waded Wouldn't it be something along the lines of result := lo + 256 * hi; ? -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. ** http://home.san.rr.com/dnew/DNResume.html ** ** http://images.fbrtech.com/dnew/ ** Things to be thankful for, #37: No sausage was served at the Last Supper.