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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Oberon and Wirthian languages Date: Sat, 19 Apr 2014 22:16:31 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1ljwj8f.1wqbhvuabsdw1N%csampson@inetworld.net> <51c7d6d4-e3be-44d5-a4ce-f7e875345588@googlegroups.com> <%J32v.70539$kp1.45343@fx14.iad> <8761m535e4.fsf_-_@ludovic-brenta.org> Injection-Date: Sat, 19 Apr 2014 22:16:31 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="15193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ezy6moMyiU2mDgCIGMd0IFWqGsjjD5bA=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:kgEz2uHxdaoiVSwx5evdjADwyDQ= Xref: news.eternal-september.org comp.lang.ada:19461 Date: 2014-04-19T22:16:31+00:00 List-Id: On 2014-04-19, Simon Clubley wrote: > On 2014-04-19, Shark8 wrote: >> >> As we can see here the 'length' should not be "uint16", but instead: >> Range 0..2**14 {with a Size specification of 16 bits.} > > The problem is that the above lays out the on the wire structure, but > says nothing about the valid length values other than in the surrounding > text. > Just to clarify: "the above" refers to the uint16 in the struct from the specification, not to your Range statement. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world