|
|
|
|
|
Allows: - move a row in a two-dimensional WLanguage array or in an advanced array property. The other array rows are moved accordingly.
- swap two rows in a two-dimensional WLanguage array or in an advanced array property.
MyArray is array of 5 by 2 strings
MyArray[1,1] = "A"
MyArray[1,2] = "a"
MyArray[2,1] = "B"
MyArray[2,2] = "b"
MyArray[3,1] = "C"
MyArray[3,2] = "c"
MyArray[4,1] = "D"
MyArray[4,2] = "d"
MyArray[5,1] = "E"
MyArray[5,2] = "e"
MoveLine(MyArray, 2, 4)
MyArray is array of 5 by 2 strings
MyArray[1,1] = "A"
MyArray[1,2] = "a"
MyArray[2,1] = "B"
MyArray[2,2] = "b"
MyArray[3,1] = "C"
MyArray[3,2] = "c"
MyArray[4,1] = "D"
MyArray[4,2] = "d"
MyArray[5,1] = "E"
MyArray[5,2] = "e"
MoveLine(MyArray, 2, 4, amSwap)
Sintaxis
Moving a row in a WLanguage array or in an advanced array property Ocultar los detalles
MoveLine(<WLanguage array> , <Start index> , <Arrival index> [, <amMove>])
<WLanguage array>: Array Name of the Array variable to use. This array must be a two-dimensional array. <Start index>: Integer Index of the row to move. <Arrival index>: Integer New index of the row that was moved. <amMove>: Optional constant tdDéplace: Constant used to move a row in an array.
Swapping two rows in a WLanguage array or in an advanced array property Ocultar los detalles
MoveLine(<WLanguage array> , <Index of 1st row> , <Index of 2nd row> , <amSwap>)
<WLanguage array>: Array Name of the Array variable to use. This array must be a two-dimensional array. <Index of 1st row>: Integer Index of the first row to swap. <Index of 2nd row>: Integer Index of the second row to swap. <amSwap>: Constant tdEchange Constant for exchanging two rows in an array.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|