Verify a List Contains Only Unique Entries

Author: Tripp W Black

Created: 11/11/1999 at 02:08 PM

 

Category:
Notes Developer Tips
Forms/Subforms, Formulas

This will take a list , testlist, and verify that each of its elements are unique elements.

testlist := a : b : c : d : e;

X := @Elements( testlist );
Y := @Elements( @Unique(testlist) );


@If( X = Y ; @Prompt([OK];"No Dups";"") ; @Prompt([OK];@Text( X - Y ) + " Dups";""))

previous page