[Gambas-user] About arrays
Benoît Minisini
gambas at ...1...
Wed Nov 24 11:59:07 CET 2010
> > > Good morning to all,
> > >
> > > write this code to see something strange
> > >
> > > DIM aInt2[1] AS String
> > >
> > > PRINT IsObject(aInt2)
> > >
> > > Gambas2-2.21 rev3300
> > > Ubuntu 10.04, AMD64
> >
> > I see nothing strange.
>
> Ah yes, I got the "double free" error.
Mmm. I'm not sure I will be able to fix that in Gambas 2.
Gambas 3 should be stronger against that, as "embedded" arrays are accessed
through internal temporary objects (i.e. IsObject(EmbeddedArray) will return
TRUE).
--
Benoît Minisini
More information about the User
mailing list