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
Regards,
Brett.
----- Original Message -----
From: "Paul Tretter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.
>
> Paul Tretter
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
> --
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.