Unique

angerangel edited this page Jan 7, 2013 · 1 revision
Clone this wiki locally

USAGE

   UNIQUE set1 /case /skip size

DESCRIPTION

Returns the data set with duplicates removed.

UNIQUE is a native value.

ARGUMENTS

  • set1 (block! string! binary! bitset! typeset!)

REFINEMENTS

  • /case -- Use case-sensitive comparison (except bitsets)
  • /skip -- Treat the series as records of fixed size
    • size (integer!)

#SOURCE

unique: make native! [  [
    "Returns the data set with duplicates removed."
    set1 [block! string! binary! bitset! typeset!]
    /case "Use case-sensitive comparison (except bitsets)"
    /skip "Treat the series as records of fixed size"
    size [integer!]
] ]