Try
Code:BAUD VAR WORD
Try
Code:BAUD VAR WORD
Dave
Always wear safety glasses while programming.
Thanks for your reply Dave.
BAUD Var Word works as does Byte if its less than 255.
My question is why doesn't CON work when I can't find any reference to it in the Manual and espesially as Bruce had it in some code at http://www.picbasic.co.uk/forum/showthread.php?t=3789
Maybe it works in PM but not MPASM.
Mike
Sorry, I read it backwards.
BAUD CON 84
should work fine. And I never use PM...
So I do not know why it does not work for you.
Dave
Always wear safety glasses while programming.
Okay, thanks Dave.
I'll just have to put it down to another one of those weird things that happens.
Cheers,
Mike
Bookmarks