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.8 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5ffde75d5ac5a4c2 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!nntp.abs.net!news.abs.net!not-for-mail Newsgroups: comp.lang.ada Subject: Re: how to "put" a binary structure? (newbie question!) References: <4297838.5ZkbbiKo5Q@linux1.krischik.com> From: Stephen Leake Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:d+HVrC07h1kJ4fJEKkeaJHxjdEo= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 02 Feb 2006 06:06:41 -0500 NNTP-Posting-Host: 66.159.65.1 X-Complaints-To: abuse@toad.net X-Trace: news.abs.net 1138878403 66.159.65.1 (Thu, 02 Feb 2006 06:06:43 EST) NNTP-Posting-Date: Thu, 02 Feb 2006 06:06:43 EST Xref: g2news1.google.com comp.lang.ada:2748 Date: 2006-02-02T06:06:41-05:00 List-Id: Martin Krischik writes: > Norbert Caspari wrote: > >> Dear experts, >> >> >> -- Is it possible to print the whole content of a record structure with >> one -- put statement? > > Yes - but you have to write that Put statement yourself. For a user defined > type you need a user defined Put. Or you can have auto_text_io write it for you: http://www.toadmail.com/~ada_wizard/ada/auto_text_io.html I guess I should add that to the wiki. -- -- Stephe