[Gambas-user] About arrays

Fabien Bodard gambas.fr at ...626...
Wed Nov 24 11:50:33 CET 2010


2010/11/24 Demosthenes Koptsis <demosthenesk at ...626...>:
> 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):
0x000000000217beb0 ***


So isobject work correctly ... it is not an object ... it's an embedded array.

but for the rest ... yes it is not 'normal'

-- 
Fabien Bodard




More information about the User mailing list