TDuplicates

From Soldat Community Wiki
Jump to: navigation, search

Description

Type used by Duplicates to define what happens when trying to add duplicate values to the list.

Declaration

 type TDuplicates = (
  dupIgnore,  // Ignore the new item, do not add it to the list.
  dupAccept,  // Accept duplicates, adding them to the list.
  dupError    // Raise an error when an attempt is made to add a duplicate.
 );