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,330113ca111da154 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-23 14:37:31 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Hex ouput Date: 23 Oct 2003 17:18:33 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3F97F61A.13088097@raytheon.com> NNTP-Posting-Host: shevek.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1066944127 17077 128.183.235.101 (23 Oct 2003 21:22:07 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 23 Oct 2003 21:22:07 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:1547 Date: 2003-10-23T21:22:07+00:00 List-Id: "Xenos" writes: > Thanks for the link! Incidentally, You can strip the 16# and the trailing # > just by taking a slice. Assuming no leading or trailing spaced (Trim works > nicely), I just used: S(4 .. S'Length - 1) Since you are looking for "plain hex", without the 16# stuff, you can use my generic SAL.Generic_Hex_Image package, which doesn't use Text_IO (and therefore can be flown on spacecraft :). http://www.toadmail.com/~ada_wizard/ -- -- Stephe