Modify ↓
#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 by , 15 years ago
comment:2 by , 15 years ago
| Resolution: | → Duplicate |
|---|---|
| Status: | new → closed |
comment:3 by , 15 years ago
comment:4 by , 15 years ago
Dear Sir.
Sorry, that I did not understand.
No error, only my misunderstanding (not english speaking though).
Thanks for clearing up.
Regards Thopaga.
Note:
See TracTickets
for help on using tickets.

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,