I dont know about Pic basic pro, but most simple basic languages dont allow negative values, only positive integers, so somewhere set your "0" to say 127 (half of 255, by adding 127 to the original value) and then use your code the way it is but with "if B0 < 127", so 127 becomes the "default" zero thoughout your program.
I dont know about Pic basic pro, but most simple basic languages dont allow negative values, only positive integers, so somewhere set your "0" to say 127 (half of 255, by adding 127 to the original value) and then use your code the way it is but with "if B0 < 127", so 127 becomes the "default" zero thoughout your program.
I know you use PICBasic, I downloaded the instruction manual so that I could answer your question, which if you read the VAR definitions it clearly tells you which are signed and unsigned variables.
As the attached image is from the PICBasic Pro manual how do you come to the conclusion its for Visual Basic.