[Gambas-user] Question about objects in memory

Benoît Minisini gambas at ...1...
Wed Dec 8 16:13:53 CET 2010


> hi,
> 
> in the next example, the output of PRINT is the datatype and the address
> of memory where the object exists?
> 
> ' Gambas module file
> 
> PUBLIC SUB Main()
> 
> DIM aArray AS NEW String[]
> 
> PRINT aArray
> 
> END
> 
> --------
> Output:
> --------
> (String[] 0x21ce4a0)

Yes. But do not rely on that to do weird things.

Regards,

-- 
Benoît Minisini




More information about the User mailing list