Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3596 closed Bug (Duplicate)

_ArrayAdd fails to add a specified value at the end of an existing 1D array

Reported by: Tippex Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.3 Severity: None
Keywords: _ArrayAdd Cc:

Description

At production version 3.3.14.3 _ArrayAdd fails to add a specified value at the end of an existing 1D array.
(no problem at production version 3.3.14.2)

The example below is from AutoIt Help (v3.3.14.3)

#include <Array.au3>
#include <MsgBoxConstants.au3>

Local $aArray_Base[2] = ["Org Item 0", "Org item 1"]
_ArrayDisplay($aArray_Base, "1D - Base array")

; Add a single item
Local $aArray = $aArray_Base
Local $sSingleFill = "New Item 2"
_ArrayAdd($aArray, $sSingleFill)
_ArrayDisplay($aArray, "1D - Single")

"New Item 2" fails to be added at AutoIt v3.3.14.3 (but there is no such problem at AutoIt v3.3.14.2).

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Tippex

"Component: AutoIt" was selected rather than "Standard UDFs" because _ArrayAdd worked OK using the previous production release of AutoIt, but on reflection I notice that Array.au3 has been changed for the latest production release therefore "Component: Standard UDFs" maybe should have been selected instead.

comment:2 Changed 6 years ago by Jos

Have you seen this post in the forums: https://www.autoitscript.com/forum/topic/192254-33143-fixes/

... and didn't that fix this?

Jos

comment:3 follow-up: Changed 6 years ago by Jos

  • Resolution set to Duplicate
  • Status changed from new to closed

Closing assuming the changes have fixed it.

comment:4 in reply to: ↑ 3 Changed 6 years ago by John.D.Rainbow@…

Replying to Jos:

Closing assuming the changes have fixed it.

Jon has now released a new version v3.3.14.5 with all the necessary fixes, so please install that.

Most grateful thanks for all the fixes.

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 closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.