[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exclusive Or in Applesoft?
I hastily wrote:
>Jayson Smith asked:
>
>>Is there any way to Exclusive Or in Applesoft or does this have to be done
>>in machine code?
>
>There is no exclusive-or operator in Applesoft.
>
>If you need to exclusive-or single boolean values, then you can do
>it with an expression: NOT (B1 = B2).
I was thinking a little _too_ boolean!
Obviously B1 <> B2 will do the job faster.
-michael
New Applesoft BASIC interface for NadaNet networking!
Home page: http://members.aol.com/MJMahon/