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,8f01d35116e753b6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.235.4 with SMTP id ui4mr1337114pbc.3.1333007368827; Thu, 29 Mar 2012 00:49:28 -0700 (PDT) Path: z9ni14201pbe.0!nntp.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: xor Date: Thu, 29 Mar 2012 08:49:27 +0100 Organization: A noiseless patient Spider Message-ID: References: <4f72393e$0$6643$9b4e6d93@newsspool2.arcor-online.net> <1j5gw4kcp8q34$.4tabwm0d7yh6.dlg@40tude.net> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="8454"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jp7zTH3Lluny8Kheq6wy/PVXl987nqcM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:SePhXS7RJ+yTyJWfZBat/6NjpVk= sha1:LOdHJYSrfyolWc85X5DSYI9kZ8w= X-Received-Bytes: 1920 Content-Type: text/plain; charset=us-ascii Date: 2012-03-29T08:49:27+01:00 List-Id: Dennis Lee Bieber writes: > I believe that, for example, writing a "string" will result in a > length value first, then characters Actually it depends whether you use 'Write or 'Output. 'Output writes the bounds, then the content; 'Write just writes the content (so the recipient needs to know the length some other way, perhaps by consistent use of a constrained subtype, perhaps by you explicitly 'Write-ing the length first). http://www.adaic.org/resources/add_content/standards/05rm/html/RM-13-13-2.html (2) for 'Write; (18) for 'Output.