[REBOL] Re: Quickest way home using bitsets...
From: rotenca:telvia:it at: 23-Oct-2003 20:46
> it should be 1 - 8 to be more consistent, but who use it anyway?
> It's used only for parsing (charset is only shortcut for bitset)
I use it for flags, and also RT use it in some code for the same.
But the most important use, perhaps, is when you read a binary file, in the
header often you find flags in bits and you can do:
bin: #{01}
bt: to bitset! bin
find bt 0
0-7 for bit is consistent with all computer science ;-)
---
Ciao
Romano