Inserts an element (row) at given position into a list
Lists.au3 _ListSet( $aList [,$nPosition = 0, [,$vColumn1 = 0 [,$vColumn2 = 0 [,$vColumn3 = 0 [,$vColumn4 = 0 [,$vColumn5 = 0 [,$vColumn6 = 0 [,$vColumn7 = 0 [,$vColumn8 = 0 [,$vColumn9 = 0 [,$vColumn10 = 0 [,$vColumn11 = 0 [,$vColumn12 = 0 [,$vColumn13 = 0 [,$vColumn14 = 0 [,$vColumn15 = 0 [,$vColumn16 = 0 [,$vColumn17 = 0 [,$vColumn18 = 0 [,$vColumn19 = 0 [,$vColumn20 = 0]]]]]]]]]]]]]]]]]]]]) ) |
$aList | List array as handle |
$nPosition | Insert position in the list |
$vColumn1 to $vColumn20 | Value of column 1 to 20 |
boolean value | True = True = Element set, False = Not a list or given position larger than list size |
_ListAdd, _ListInsert, _ListGet, _ListGetElement, _ListValueInList, _ListValueInListColumn
Local $aCats = _ListCreate(2) | ; 2 columns list |
_ListAdd( $aCats, "siamese", "red" ) | ; add red siamese cat |
_ListSet( $aCats, 0,"balinese", "white" ) | ; set values of first row to white balinese cat |