[REBOL] Re: sizeof(structure)
From: brett:codeconscious at: 19-Sep-2003 11:12
I haven't used it but from the library interface doco....
;- returns the number of elements in the structure.
length? second a-struct
;- returns the size, in bytes, of the structure.
length? third a-struct
----- Original Message -----
From: "Paul Tretter" <[ptretter--charter--net]>
Sent: Friday, September 19, 2003 10:59 AM
Subject: [REBOL] sizeof(structure)
> Anyone know how to determine the "sizeof" a structure!. I'm trying to
pass OSVERSIONINFO structure to GetVersionEx and for some reason I think I'm
not getting the sizeof portion right to set dwOSVersionInfoSize.