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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:e14a:: with SMTP id n71-v6mr13489829ith.55.1537231538338; Mon, 17 Sep 2018 17:45:38 -0700 (PDT) X-Received: by 2002:aca:5557:: with SMTP id j84-v6mr734oib.3.1537231538212; Mon, 17 Sep 2018 17:45:38 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!x188-v6no23372ite.0!news-out.google.com!z5-v6ni14ite.0!nntp.google.com!x188-v6no23369ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 17 Sep 2018 17:45:37 -0700 (PDT) In-Reply-To: <257bde0f-a691-4ce0-aa9b-01e0a67d3f20@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=121.45.194.120; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 121.45.194.120 References: <257bde0f-a691-4ce0-aa9b-01e0a67d3f20@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Interface To C Struct That Includes An Array From: Roger Injection-Date: Tue, 18 Sep 2018 00:45:38 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:54353 Date: 2018-09-17T17:45:37-07:00 List-Id: On Tuesday, September 18, 2018 at 8:35:52 AM UTC+10, Roger wrote: > On Tuesday, September 18, 2018 at 1:25:24 AM UTC+10, Lucretia wrote: > > On Monday, 17 September 2018 13:11:34 UTC+1, rog...@iinet.net.au wrote: > > > > > > > CORRECTION: > > > > If I shift the Data characters left by four places and change Length to 12, the resultant Assimp_Path is > > > > Length: 12, Data: Bphoenix.pcx > > > > Are you sure the B is correct and not data representation issue? Does the B get used? > > My B represents a symbol that I don't understand. > It represents a rectangle containing four small zeros. > Its not something that I either expect or know how to use. I now think that the rectangle containing four small zeros is displayed for the ascii code 11 (hex or dec?) That is B means an undisplayable ASCII "character". Dec 11 is VT Vertical Tab Hex 11 is DC1 So the original (without shifting) that is dis[layed seems to be: Length: 16, Data: (VT)000phoenix.pcx0 or Length: 16, Data: (DC1)000phoenix.pcx0 whereas, what it should be is: Length: 11, Data: phoenix.pcx