[Gambas-user] External C function usage error - IPC queue usage
Fabien Bodard
gambas.fr at gmail.com
Tue Jan 23 17:40:13 CET 2018
2018-01-23 1:05 GMT+01:00 T Lee Davidson <t.lee.davidson at gmail.com>:
> On 01/22/2018 06:58 PM, Doug Hutcheson wrote:
> >> No, Benoît, I am using v3.10.
> >>
> >> If I type in a number prepended with '&o' and move to another line, the
> ampersand gets automatically separated. I also tried
> >> modifying the src with an external editor and compiling with gbc3. It
> still chokes.
> >>
> >>
> > Hi Lee. Would it not be "&0" (ampersand zero) not "&o" ?
> > Just a hunch.
> > Cheers,
> > Doug
>
> According to 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180123/7b917ec4/attachment.html>
More information about the User
mailing list