[Gambas-user] [Fwd: Gambas3 Pointers example]
Demosthenes Koptsis
demosthenesk at ...626...
Tue Jan 11 00:07:23 CET 2011
That's nice!
I ll test again tomorrow.
On Mon, 2011-01-10 at 23:57 +0100, Benoît Minisini wrote:
> > This is what is said here
> > http://gambasdoc.org/help/howto/extern?v3
> > "More On Pointers"
> > READ #mypointer, var1_4byte
> > mypointer += 4
> > READ #mypointer, var2_4byte
> >
> >
> > i tried
> > Print "\nRead the pointer"
> > Print "Integer read:"; Integer@(pPointer)
> > pPointer += 4
> > Print "Float read:"; Float@(pPointer)
> >
> > But this raises an error, "Type mismatch, wanted number get pointer
> > instead" Is this a bug?
> >
>
> I have implemented pointer arithmetic in revision #3452, so you should not
> have that error anymore.
>
> Regards,
>
--
Regards,
Demosthenes
More information about the User
mailing list