On Sat, 24 Oct 1998, Tony Duell wrote:
I find returning all 1's or all 0's to be the
logical thing to do
actually.
In machine language, sure. But in BASIC, it makes no sense to the
programmer to return a -1.
Particularly when the AND and OR operators you have
are true bitwise
ones (am I correct that in Applesoft 4 AND 8 = 1? On a TRS80 or PET it's
0). Having bitwise AND and OR is clearly a Good Thing.
AppleSoft does not have bitwise AND or OR unfortunately (it was sorely
missed by me).
Sellam Alternate e-mail: dastar(a)siconic.com
-------------------------------------------------------------------------------
Ever onward.
Coming in 1999: Vintage Computer Festival 3.0
See
http://www.vintage.org/vcf for details!
[Last web site update: 09/21/98]