Le 20/03/2016 03:37, Ru Vuott a écrit :
> Hi,
>
>> You must do that by reading the interpreter source code.
>
> Benoit, In which "trunk" folder I can find interpreter source code ?
>
> vuott
>
We should talk on the mailing-list, because other people may be
interested by the answers, or may help y
Le 20/03/2016 02:54, Ru Vuott a écrit :
> Yes, I know that does not represent the quantity of array contents.
>
>> Why do you care with that?
> To better understand via source code how Gambas's done.
You must do that by reading the interpreter source code.
This size is:
- The size of the inherite
; ...in CARRAY->void *data ?
p2 = Pointer@(p1 + 32)
Print "\nArray contains these values:"
For i = 0 To bb.Max
Print Byte@(p2 + i),
Next
End
regards
vuott
--------
Dom 20/3/16, Benoît Minisini ha scritto:
Oggetto: Re: [Gambas-use
Le 20/03/2016 01:38, Ru Vuott a écrit :
> Hello..
>
> *
> Public Sub Main()
>
>Dim bb As Byte[] = [1, 2, 3, 4]
>
>Print Object.SizeOf(bb)
>
> End
> *
>
> Object.SizeOf() method return 40 byte.
>
> Wh
Hello..
*
Public Sub Main()
Dim bb As Byte[] = [1, 2, 3, 4]
Print Object.SizeOf(bb)
End
*
Object.SizeOf() method return 40 byte.
Why ?
What is the source structure 40 bytes long?
Maybe "GB_ARRAY_