|
|
|
|
ArrayUnion (Function) In french: TableauUnion Returns an array corresponding to the union of two arrays. The following arrays can be handled: - One-dimensional array of simple elements (int, real, string).
- One-dimensional array of structures.
New in version 2024
arrMyArray1 is array of int
ArrayAdd(arrMyArray1, 1)
ArrayAdd(arrMyArray1, 6)
ArrayAdd(arrMyArray1, 1)
ArrayAdd(arrMyArray1, 3)
arrMyArray2 is array of int
ArrayAdd(arrMyArray2, 3)
ArrayAdd(arrMyArray2, 5)
ArrayAdd(arrMyArray2, 8)
ArrayAdd(arrMyArray2, 2)
arrMyUnion is array of int
arrMyUnion = ArrayUnion(arrMyArray1, arrMyArray2)
Syntax
<Result> = ArrayUnion(<First WLanguage array> , <Second WLanguage array>)
<Result>: Array Array variable that contains the result of the union. <First WLanguage array>: Array Name of the Array variable that corresponds to the first array to use. This array must be a one-dimensional array. This array will not be modified. <Second WLanguage array>: Array Name of the Array variable that corresponds to the second array to use. This array must be a one-dimensional array. This array must be of the same type as the array specified with the <First WLanguage array> parameter. This array will not be modified. Remarks - If an array contains several duplicates, these duplicates will not be kept.
- The resulting array will not be sorted, even if the original arrays are.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|