REBOL 3.0

AND truncation of series

Carl Sassenrath, CTO
REBOL Technologies
3-Jul-2009 5:15 GMT

Article #0216
Main page || Index || Prior Article [0215] || Next Article [0217] || 6 Comments || Send feedback

Sometimes I just need to ask...

Do you see the value in the truncation of this operation:

>> #{010203} and #{0202}
== #{0002}

(Note that the result is the length of the shorter argument.)

However:

>> #{010203} or #{0202}
== #{030203}

leaves it full length.

There may have been some logical reason in the past, but if their was, I don't see it in the docs. So, unless someone objects, AND will be modified to produce the same length as OR.

This is Curecode bug #1013.

6 Comments

REBOL 3.0
Updated 24-Nov-2024 - Edit - Copyright REBOL Technologies - REBOL.net