setunion()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/setunion() · 529 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& setunion()
 
  Syntax: setunion(<list1>, <list2>[, <delim>])
 
  This function returns the union of two sets -- i.e., all the 
  elements of both <list1> and <list2>, minus any duplicate elements. 
  Think of it as cat() without duplicated words. The list returned is 
  sorted. If <delim> is specified, it (rather than a space) is used 
  to separate item in the list.
 
  Example:
  > say setunion(foo baz gleep bar, bar moof gleep)
  You say, "bar baz foo gleep moof"
 
	See Also: setdiff(), setinter(), sort()

Site Stats

Snippets: 1791
Codebases: 571