Re: [Gambas-user] Question about objects in memory

2010-12-08 Thread Benoît Minisini
> i have no intension to do something. > Anyway i dont know how to use such an information. > > i just wanted to know it to describe it in my book. > > Now i am in the chapter of pointers and memory management. > > Something else... > > the "NEW" word in Gambas is like "new" word in C++? > > i

Re: [Gambas-user] Question about objects in memory

2010-12-08 Thread Demosthenes Koptsis
i have no intension to do something. Anyway i dont know how to use such an information. i just wanted to know it to describe it in my book. Now i am in the chapter of pointers and memory management. Something else... the "NEW" word in Gambas is like "new" word in C++? in the book "Teach Yourse

Re: [Gambas-user] Question about objects in memory

2010-12-08 Thread Benoît Minisini
> 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

[Gambas-user] Question about objects in memory

2010-12-08 Thread Demosthenes Koptsis
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) -- Regards, Demosthenes Koptsis. -