Starting from Scratch (was Re: OT: Modern college educa

From: Sam Ismail <dastar_at_ncal.verio.com>
Date: Sat Oct 24 11:53:56 1998

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_at_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]
Received on Sat Oct 24 1998 - 11:53:56 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:31:28 BST