[Gambas-user] External C function usage error - IPC queue usage
T Lee Davidson
t.lee.davidson at gmail.com
Tue Jan 23 20:42:39 CET 2018
On 01/23/2018 11:40 AM, Fabien Bodard wrote:
> 2018-01-23 1:05 GMT+01:00 T Lee Davidson <t.lee.davidson at gmail.com <mailto:t.lee.davidson at gmail.com>>:
>
> On 01/22/2018 06:58 PM, Doug Hutcheson wrote:
> >>
> > Hi Lee. Would it not be "&0" (ampersand zero) not "&o" ?
> > Just a hunch.
> > Cheers,
> > Doug
>
> According to http://gambaswiki.org/wiki/cat/constants <http://gambaswiki.org/wiki/cat/constants>, "&0" would be a
> hexadecimal representation.
>
> I tried '&0600'. Result in decimal: 1536.
>
>
> Hexadecimal short signed integers.&H1F5, &HFFFF, &H0000FFFF, &FFFF
> Hexadecimal signed integers. &H10BF332E, &10BF332E
> Hexadecimal unsigned integers. &H8000&, &HFFFF&
> Binary integers. &X1010010101, %101001011
>
> Where did you read that, Lee ?
>
> http://gambaswiki.org/wiki/cat/constants
>
> There is a lack between doc and gb source code ...
>
> --
> Fabien Bodard
>
Where did I read, what, Fabien? That "&0" would be a hexadecimal representation?
>From the first two lines you posted from the referenced doc page. Take a look at the last example on each of those lines.
"&FFFF": Ampersand followed by a hexadecimal number. "0" is a hexadecimal number.
"&10BF332E": Again, ampersand followed by a hexadecimal number.
Or, maybe that's not what you were referring to about what I read.
And yes, as Tobi pointed out, the doc doesn't quite reflect the state of the source code.
--
Lee
More information about the User
mailing list