Hej,
I need to create random bits and XOR them together. For creating random
numbers there is OS.rand so I at first figured I'd use that and then use
and xor function on them. But there doesn't seem to be such a function.

Then I thought I could use BitStrings. There is a bitwise or for
bitstrings, but I don't know if it is exclusive or inclusive. And then
there is the problem with generating random bitstrings.

I assume someone has done this before, so what's the best way to do it?

Cheers, Urban
-- 
http://bettong.net - Urban's Blog
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to