Page 1 of 1

Will PB ever have unsigned types?

Posted: Sun Feb 05, 2006 12:05 pm
by Justin
i assumed they would come with PB4 :?

Posted: Sun Feb 05, 2006 12:08 pm
by blueznl
except for bytes i must admit i haven't missed them much

Posted: Sun Feb 05, 2006 2:12 pm
by Fred
we will probably add them for byte and word in a future release. Actually if you do only an 'ascii' program, you can use the 'c' type, which is an unsigned byte.

Posted: Sun Feb 05, 2006 2:52 pm
by Berikco

Code: Select all

a.b= 128
Debug a
b.c= 128
Debug b
cool 8)

Posted: Sun Feb 05, 2006 3:00 pm
by Thomas
32 and 64 bit unsigned would be useful too

Posted: Tue Feb 07, 2006 8:53 pm
by va!n
as long as PB dont support UNSIGNED variables you can use this small trick... i needed this today in my acutal small project and finally i found a solution after a lot of experience...

a = -64
Debug a & 255