[REBOL] char arrays in structs
From: greggirwin:mindspring at: 4-Sep-2003 8:49
Does anyone have a better way to map char arrays in structs than creating separate elements that take up the correct total amount of space? e.g. RASDIALPARAMSA { DWORD dwSize; CHAR szEntryName[ RAS_MaxEntryName + 1 ]; ... RASDIALPARAMSA: make struct! [ dwSize [integer!] szEntryName1 [char!] szEntryName2 [char!] szEntryName3 [char!] szEntryName4 [char!] ... -- Gregg