Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: bitset help

From: greggirwin:mindspring at: 27-Sep-2002 13:32

This all brings up a really good point for me. Sometimes I'm so stuck on certain things I can't see the obvious. How many of us have suffered with AND, OR, and XOR in our code, stopping to think so hard about whether we had the right operator in there, particularly when you have to distinguish between bitwise and logical operations! INTERSECT, UNION, and DIFFERENCE are so much more human friendly! Just looking for quick definitions I find: Intersect - To have points in common. Union - The set, each of whose elements lies in at least one member of the collection. Difference (symmetric) - The set of elements that belong to one but not both of two given sets; the union of their relative complements; the relative complement of their intersection in their union. Carl S. probably just shakes his head sometimes when he sees how hard some of us (OK, me) make things when he has made them so easy. Hopefully he'll be patient as we unlearn things. :) Thanks Carl! --Gregg