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,228dbf2f126edf08 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-21 09:30:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: ADA and return functions (Strings) Date: Tue, 21 May 2002 18:27:34 +0200 Organization: Adalog Message-ID: References: <3ce75220@news.comindico.com.au> <5ee5b646.0205190630.237196b3@posting.google.com> <4519e058.0205210639.59c72ebb@posting.google.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1021998407 30234 195.25.228.57 (21 May 2002 16:26:47 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 21 May 2002 16:26:47 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:24472 Date: 2002-05-21T18:27:34+02:00 List-Id: > sk wrote in message news:... > > In many ways, the 'Image and 'Value attributes have > > parallels to the 'Read and 'Write attributes in terms > > of allowing the caller to define the presentation of > > I/O data formats. > There is a fundamental difference though: 'Read and 'Write compose, i.e. a redefinition of T'Write will be used by any composite type with a component of type T. OTOH, redefining 'image brings you nothing in addition to what you can do by writing an Image() function. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr