guides:programming:programmers_reference_manual:rti_distinctlist

RTI_DistinctList Function

Creates a distinct list of delimited values using passed values.

newList = RTI_DistinctList( inList, inDelimiter)

The function has the following parameters:

ParameterDescription
inListAn array of delimited values.
inDelimThe delimiter used in the inList parameter. Default is @vm.

An array of distinct values.

This function is reliant on the RTI_SETS capability. RTI_SETS uses a .Net component that is contained in the idxSets_Setup.msi. The idxSets_Setup.msi is found in the ClientFiles directory within the OpenInsight installation.

* Use RTI_DistinctList

list1 = "Product A" : @fm : "Product B" : @fm : "Product C"

list2 = "Product X" : @fm : "Product B" : @fm : "Product Z"

list3 = "Product K" : @fm : "Product B" : @fm : "Product L"

fullList = list1 : @fm : list2 : @fm: list3

 

newList = RTI_DistinctList( fullList, @fm )

 

* newList will contain

* "Product A" : @fm : "Product B" : @fm : "Product C" : @fm

* "Product X" : @fm : "Product Z" : @fm : "Product K" : @fm

* "Product L"

 

 
 
 
 
  • guides/programming/programmers_reference_manual/rti_distinctlist.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1