Array2D.zip 67.19KB
864 downloads***See the attachment at the bottom for compatability with AutoIt 3.2.10.0 onwards!Faster Subsort using vbs
Corrected Insert2D;;Updated main udf, not zip, after 127 beta ListView changes
Best, Randall[/color][/b]
Array2D UDF to "include" directory\\3_21 With display of SQLiteDB
AutoIt Link; Beta version here //** Beta version of AutoIT3 [3.1.1.88..etc] required for Array2D ;
To simplify; You only need the 2 files above in include directory; all the other files are examples of usage
EXAMPLE SCRIPS BELOW=================================================================
Create 2D Arrays from Arrays of 1D Arrays, Display options; with or without zero row or column, with or without Header as zero column or row, click on column to sort, transpose, select lines to text file etc
Show Insert, Delete options too
UDFs to help Array2D usage; various authors; in development or anyone to re-write better?...
_ArrayReplace2DRow(ByRef $avArray, $aRowArray, $nRow = '')
_ArrayReplace2DColumn(ByRef $avArray, $nRow = '')
_ArrayInsert2DColumn(ByRef $avArray, $aRowArray, $nRow = '')
_ArrayDelete2DColumn(ByRef $avArray, $nRow = '')
_Array2DCreateFromArray($ar1_Array_Row1,$Displayindex=1, $ZeroRowAsHeader=0)
_Array2DCreateFirstRow( $aRowArray)
_ArrayInsert2D(ByRef $avArray, $aRowArray, $nRow = "")
_ArrayDelete2D(ByRef $avArray, $nRow = '')
_ArrayToBase1($Array)
_ArrayToBase0($ar_Array)
_StringSplit_B0($s_String,$s_Delimiter="|",$i_Flag="0")
_Array2DTranspose(ByRef $ar_Array)
_Array2DToD(ByRef $ar_Array, $s_Title = "Array contents", $n_Index = 1, $Line = 0, $s_i_Column = 0)
_ArrayViewText($ar2_Array, 'Title', $i_RowStart, $i_ColumnStart, $i_ZeroRowAsHeader,$Transpose, $Width, $Height, $Left, $Right)
$ar2_Array=_Array2DCreate($ar1_Array_Row1,$FirstArrayNumber=1,$LastArrayNumber=4,$ColumnIndex=1, $RowDisplay=0)
=================================================================
Best, randall
Attached Files
Edited by randallc, 06 December 2007 - 10:53 AM.




