Modify

Opened 3 years ago

Last modified 8 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 3 years ago by Jpm

  • Owner set to Jpm
  • Status changed from new to assigned

When I fix #2443 I solved it
Does not seem to be related but it Works ...
Fix already sent to Jon

comment:2 Changed 8 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.

Add Comment

Modify Ticket

Action
as assigned The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.