Distinct (keyword)
From RemObjects Software
The distinct operator will eliminate any duplicates from a sequence, returning only unique elements. distinct will keep the first occurrence of each unique element, and otherwise not change the sorting order of the sequence.
For example, the following code will return 1, 3, 5, 7 and 9:
var list := from i in [1,3,5,5,7,9,5,1] distinct;
See Also
Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0
Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)
Glossary — Keywords — Language Features — Platform Features — Samples — Articles — How To — Issues
Categories: Text | Oxygene | Language | Keyword
