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

[REBOL] Re: Bitset Actions

From: brett:codeconscious at: 10-Oct-2003 23:34

> I know how bitsets work,
> Your reply confirms the fact that the use of bitsets is useless for my
> except for comparisons against a string but there is no function to get
indexes from bitsets.. ...index from bitsets.. Hmmmm. To make bitsets more useful I would like to see Select take a bitset as its index argument. So that if you had a script like this: bitset: make bitset! 8 insert bitset 3 insert bitset 5 select/many [a b c d e...] bitset it could return [c e] as a result. Similar idea for Pick At etc. Could be good for complex "database queries". If this is what you originally meant, then I apologise for misunderstanding you.
> Never the less thanks for the 'enhanced' reply ;-)
No problem. Sometimes an enhanced reply is just what is needed, sometimes not. Sometimes it is just what someone else on the list needs :^) Brett.