Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[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 Regards, Brett. ----- Original Message ----- From: "Paul Tretter" <[ptretter--charter--net]> To: <[rebol-list--rebol--com]> 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.