[Gambas-user] Syntax error
Leo Barnhoorn
leo.barnhoorn at ...246...
Fri Jul 16 23:15:17 CEST 2004
Hello Benoit,
Thanks Benoit, it works perfect.
Thanks again.
Regards,
Leo.
On Friday 16 July 2004 21:54, Benoit Minisini wrote:
> On Thursday 15 July 2004 06:53, Leo Barnhoorn wrote:
> > Hallo Benoit,
> >
> > Gambas versie 0.94a
> > I get a syntax error on the following hex numbers.
> >
> > &HE0D5E91E
> > &H97D2D988
> > &H80000000
> > &HFFFFFFFF
> >
> > No matter the kind of datatype i use, i get a syntax error.
> >
> > Can you tell the reason of this.
> >
> > Regards,
> > Leo Barnhoorn.
>
> It is just a stupid bug of mine ! Strange that nobody sees it yet...
>
> To patch it, replace the line 130 in gbc_trans.c:
>
> val = strtol(number, &end, base);
>
> by:
>
> val = (long)strtoul(number, &end, base);
>
> It should work :-)
More information about the User
mailing list