Modify

Opened 9 years ago

Closed 8 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 9 years ago.
Modified _Array UDF (2D version)

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by BrewManNH

Modified _Array UDF (2D version)

comment:1 Changed 9 years ago by TicketCleanup

  • Version 3.3.6.1 deleted

Automatic ticket cleanup.

comment:2 Changed 9 years ago by mvg

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 Changed 9 years ago by BrewManNH

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 Changed 9 years ago by mvg

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

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

comment:5 Changed 8 years ago by trancexx

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

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

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 owner will remain Gary.
Author


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

 
Note: See TracTickets for help on using tickets.