Modify ↓
#445 closed Feature Request (Rejected)
SubStructure Support in Structure Tags
| Reported by: | amel27 | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | DllStruct | Cc: |
Description
If possible, about this sample:
$tag = "int val1;{int val1;int val2} stru1[5];int val2"
$t = DllStructCreate($tag)
$tStru1 = DllStructGetData($t, "stru1", 1) ; Return first structure from array with cloning Data and Tag
$iStru1_Val1 = DllStructGetData($tStru1, "val1") ; Return first element in nested structure
Attachments (0)
Note:
See TracTickets
for help on using tickets.

There's no need to clutter the syntax further, it's hard enough as is. "Nested" structures can be done inline anyway so this doesn't really do much beyond make the syntax that much more obscure. Rejected.