Modify ↓
      
        Opened 4 years ago
Last modified 20 months ago
#3838 assigned Bug
Bug with structure and dot-notation
| Reported by: | Nine | Owned by: | Jon | 
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.14.5 | Severity: | None | 
| Keywords: | Cc: | 
Description
#include <WinAPIDiag.au3>
Local $tData = DllStructCreate("ushort arr[8]")
For $i = 1 to 8
$tData.arr($i) = $i ; not working
Next
_WinAPI_DisplayStruct($tData, "ushort arr[8]")
For $i = 1 to 8
$tData.arr($i+0) = $i ; working (works also with Int or Number functions or any calculation expression)
Next
_WinAPI_DisplayStruct($tData, "ushort arr[8]")
Attachments (0)
Change History (2)
comment:1 Changed 4 years ago by Jpm
- Owner set to Jpm
 - Status changed from new to assigned
 
comment:2 Changed 20 months ago by Jpm
- Owner changed from Jpm to Jon
 
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
 - In-depth discussions should take place on the forum.
 
For more information see the full version of the ticket guidelines here.
Note: See
        TracTickets for help on using
        tickets.
    
When I fix #2443 I solved it
Does not seem to be related but it Works ...
Fix already sent to Jon