Thanks Alain, good catch on the pulseout.

But speaking of errors, when I try to compile on PBP without using:

Code:
INCLUDE "bs1defs.bas"
I get too many errors to compile. It gets stuck on the first mention of variables:
Code:
B2 = B2 + 1
How do you overcome this with Picbasic Pro, without using the include (and without defining each variable separately)? My manual states I must include "for compatibility sake", and that the include creates "the standard variables used with the Basic Stamps", not to mention that it compiles without errors when I use the include.....