Modify

Opened 14 years ago

Closed 14 years ago

#2014 closed Feature Request (Rejected)

Updated Array.au3 UDF to be used with 2D arrays

Reported by: BrewManNH Owned by: Gary
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:

Description

I have modified several of the _Array functions, that previously only handled 1D arrays, to handle both 1D and 2D arrays. I added 4 new array functions, 2 of which are modified versions of the 1D array functions with similar names. This collection of UDFs can take the place of the standard _Array functions without any code changes as they are just additional functionality with any added parameters being added at the end, and with default settings applied.

There is also an updated _ArrayDisplay function included which autosizes the GUI and the listview column widths.

This is a list of the functions included and I've marked the ones that have been modified.
; #CURRENT# =============================================================
;_ArrayAdd *
;_ArrayBinarySearch *
;_ArrayCombinations
;_ArrayConcatenate *
;_ArrayDelete
;_ArrayDisplay *
;_ArrayFindAll
;_ArrayInsert *
;_ArrayMax *
;_ArrayMaxIndex
;_ArrayMin *
;_ArrayMinIndex
;_ArrayPermute
;_ArrayPop *
;_ArrayPush *
;_ArrayReverse *
;_ArraySearch
;_ArraySort
;_ArraySwap
;_ArrayToClip *
;_ArrayToString *
;_ArrayTrim *
;_ArrayUnique (Corrected the header information)
; * - #MODIFIED FUNCTIONS#
; =============================================================
; #NEW FUNCTIONS ADDED#
; =============================================================
;_ArrayAddColumns
;_ArrayDeleteColumn
;_ArrayMaxIndex2D
;_ArrayMinIndex2D
; =============================================================

Attachments (1)

_Array.au3 (85.4 KB ) - added by BrewManNH 14 years ago.
Modified _Array UDF (2D version)

Download all attachments as: .zip

Change History (6)

by BrewManNH, 14 years ago

Attachment: _Array.au3 added

Modified _Array UDF (2D version)

comment:1 by TicketCleanup, 14 years ago

Version: 3.3.6.1

Automatic ticket cleanup.

comment:2 by mvg, 14 years ago

Why not first let others play around it on the forum?

  • For flushing out potential bugs and such.(faster and easier update rate.)
  • And, maybe, ... mmm .. aha, picking valik's brain on the probability of having it included as official UDF.

comment:3 by BrewManNH, 14 years ago

The UDF has been posted in the Examples forum for a few weeks already. Haven't seen much activity on the posting. I'm not sure how I would go about it differently, but I'm willing to do what I can.

comment:4 by mvg, 14 years ago

I see what you mean. (ergo: never mind my comment.)

modified-version-of-the-standard-arrayau3-include-file

comment:5 by trancexx, 14 years ago

Resolution: Rejected
Status: newclosed

Unfortunately something like this isn't currently needed.
Thanks anyway.

Modify Ticket

Action
as closed The owner will remain Gary.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.