Hi,

I'm programming a PIC in Oshonsoft basic, and have come across a problem.

When using SINGLE as a variable. When two numbers as a variable should be equal. e,g, a=0 b=0 If a=b then turn on LED. When these numbers should natch they don't. It's something to do with rounding up. Someone told me too quickly for me to understand, how to use MASKING, but I didn't quite follow.

Can anyone explain how to do this in Basic please, or if possible Oshonsoft basic. I know this isn't an Oshonsoft forum.

Camerart.