i expected a FALSE than all this code show up in console.
On Wed, 2010-11-24 at 11:53 +0100, Benoît Minisini wrote:
> > 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
> > > 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 n
> > 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.
--
Benoît Minisini
-
> 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.
--
Benoît Minisini
--
2010/11/24 Demosthenes Koptsis :
> 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
>
that ?
False
*** glibc detected *** menudyn: double free or corruption (fasttop):
0x02
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
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $5
Thanks Benoît, i understood the array subject well.
But one note.
i cant do in Gambas2-2.21
PUBLIC aInt2[10] AS Integer
in declaration section of a class
so the syntax
[Static] {Private|Public} EmbeddedArray[A, B] As Type
is it correct, for the Public keyword?
On Tue, 2010-11-23 at 19:13 +01
Hi,
This is a clarification about Gambas arrays for Demosthene and all who
answered him.
There are two kinds of arrays in Gambas:
- "Normal" arrays.
- "Embedded" arrays.
Fabien used the word "static" arrays for "embedded" arrays because this was
the word I used first. Then I changed to "embedd