On Fri, 23 Oct 1998, Ethan Dicks wrote:
can provide one. It depends on logical statements
working as follows:
The statement C=(A>B) would set C to 0 if A weren't greater than B, and
would set C=-1 if A were greater than B. Not all micro BASICs support this.
I'm pretty sure Applesoft is onethat does _not_.
AppleSoft would logically return a +1 for the above statement rather than
a -1. Why the PET returns a -1 is beyond me. Couldn't they have added
one more machine instruction to strip off the sign bit?
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]