>>>>> On Sun, 31 Dec 2000 14:09:46 -0500, "Miko O'Sullivan" <[EMAIL PROTECTED]> said:
miko> Math::BooleanArray adpO Parse boolean expressions
>>
>> I cannot follow the relation of "Parse" and "Array". Could you explain
>> the idea a little?--Thanks!
> The object parses the expression into an array of component expressions.
> For example, the expression "yea | ney" would be parsed into an array
> consisting of "yea" and "ney". You evaluate the expression by changing each
> component in the array to 1 or 0. The object then substitutes each element
> back into the expression, so the above would end up as something like "1 |
> 0" which of course evaluates to 1.
> If you have any other suggestions I'd be happy to consider them. I would
> prefer to avoid "BooleanParse" because that may imply a much bigger set of
> utilities.
I'm sure I'm missing something very basic here: Where is the "or" in
the array? I mean, how do "yea | ney" and "yea & ney" differ?
--
andreas