I get an error saying "A numeric expression must appear here" at the both errors. Does anyone know why this is?
Thank you,
mle
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515539
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Re: error "A numeric expression must appear here"
Posted: Tue Jun 24, 2003 3:43 pm
:=hello,
:=I'm having problems trying to do some simple arithmetic. I have the following piece of code that is giving me errors:
:= bit=byte\%2; //********ERROR HERE*********//
-------------------------------------------------------
"byte" is a defined keyword for CCS. You shouldn't use it.
Look in the 16F877.h file (or any other header file)
and you'll see it defined as an alias for "int".
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515540
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum