comp.lang.ada
 help / color / mirror / Atom feed
From: Roger <rogermcm2@gmail.com>
Subject: Re: Interface To C Struct That Includes An Array
Date: Mon, 17 Sep 2018 17:45:37 -0700 (PDT)
Date: 2018-09-17T17:45:37-07:00	[thread overview]
Message-ID: <a03d1f9a-e821-4c39-abb3-33df002914da@googlegroups.com> (raw)
In-Reply-To: <257bde0f-a691-4ce0-aa9b-01e0a67d3f20@googlegroups.com>

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

  reply	other threads:[~2018-09-18  0:45 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17 12:01 Interface To C Struct That Includes An Array rogermc
2018-09-17 12:11 ` rogermc
2018-09-17 15:25   ` Lucretia
2018-09-17 22:35     ` Roger
2018-09-18  0:45       ` Roger [this message]
2018-09-18  1:19         ` rogermc
2018-09-17 12:26 ` gautier_niouzes
2018-09-17 13:28   ` Roger
2018-09-17 13:55     ` gautier_niouzes
2018-09-17 14:03       ` Roger
2018-09-17 15:24 ` Lucretia
2018-09-17 23:06   ` Roger
2018-09-17 16:29 ` Jeffrey R. Carter
2018-09-17 22:57   ` Roger
2018-09-18  0:53   ` Roger
2018-09-18  4:18     ` Roger
2018-09-18  8:19 ` rakusu_klein
2018-09-18 11:54   ` rogermc
2018-09-18 12:21     ` Egil H H
2018-09-18 12:24       ` rogermc
2018-09-18 18:55     ` rakusu_klein
2018-09-18 21:28       ` rogermc
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox