#1842 closed Bug (Duplicate)
_ArrayUnique does not work properly
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.6.1 | Severity: | None |
Keywords: | Cc: |
Description
; *
; Example 1 - Declare a 1-dimensional array, that contains duplicate values.
; Use _ArrayUnique to Create a New Array that only contains the unique values.
; *
#include <Array.au3>
Dim $aArray[10] = [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]
_ArrayDisplay($aArray, "$aArray")
$aNewArray = _ArrayUnique($aArray) ;Using Default Parameters
_ArrayDisplay($aNewArray, "$aNewArray represents the 1st Dimension of $aArray")
Attachments (0)
Change History (4)
comment:1 Changed 14 years ago by mvg
comment:2 Changed 14 years ago by Jpm
- Resolution set to Duplicate
- Status changed from new to closed
comment:3 Changed 14 years ago by Thopaga
comment:4 Changed 14 years ago by Thopaga
Dear Sir.
Sorry, that I did not understand.
No error, only my misunderstanding (not english speaking though).
Thanks for clearing up.
Regards Thopaga.
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.
Duplicate of ticket #1806. (No bug)
_ArrayUnique() Doc on $iBase parameter say's
This is for telling the function about the input array. And it not used/intended to control the format of the output array.
As stated in the Remark part of the _ArrayUnique() help.
Still no bug.
Only thing left is to put in a Request for a change, and elaborate on the why.
?: maybe making the help text on the $iBase parameter more specific by adding "input" to it,