[futurebasic] Re: [FB] Strange unsinged integer behavior

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2000 : Group Archive : Group : All Groups

From: ted <ted@...>
Date: Thu, 30 Nov 2000 11:24:25 -0500
From the nimble fingers of Wolf, John (JWOLF@...) (28/11/2000 11:26
AM) came...

> Can someone explain the behavior of unsigned variables in FB3? In my mind,
> they simply don't behave the way I expect, and as far as I can tell, they
> really have no use.
> 
> For example:

--snip--

> 'I thought the shift operator was always done in integer math.
> 'FB3 result is  -.5.
> 
> DO
> UNTIL MOUSE(_down)

This has, coincidentally, just caught me, too.
I seem to have missed the (inevitable and humbling) answer. I mean the OTHER
answer about unsinged, unsigned LONGs?
-- 
Ted Spencer; ted@...
-- 
If you're in the rat race, you're probably a rat.