|
|
|
|
<Array>.UnionAll (Function) In french: <Tableau>.UnionTout Returns an array corresponding to the union of two arrays (without deleting duplicates). The following arrays can be handled: - One-dimensional array of simple elements (int, real, string).
- One-dimensional array of structures.
tabMonTableau1 is array of int
tabMonTableau1.Ajoute(1)
tabMonTableau1.Ajoute(6)
tabMonTableau1.Ajoute(1)
tabMonTableau1.Ajoute(3)
tabMonTableau2 is array of int
tabMonTableau2.Ajoute(3)
tabMonTableau2.Ajoute(5)
tabMonTableau2.Ajoute(8)
tabMonTableau2.Ajoute(2)
tabMonUnionTout is array of int
tabMonUnionTout = tabMonTableau1.UnionTout(tabMonTableau2)
Syntax
<Result> = <First WLanguage array>.UnionAll(<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 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|