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.
>
> Why ?
>
> What is the source structure 40 bytes long?
>
> Maybe "GB_ARRAY_BASE" in "gambas.h" ?
>
> Regards
> vuott
>

It's not the size of the array contents, it's the size of the object in 
memory. Why do you care with that?

-- 
Benoît Minisini

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to