CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

switch statement

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
chava



Joined: 07 Sep 2003
Posts: 56

View user's profile Send private message Send e-mail

switch statement
PostPosted: Tue Jan 13, 2004 2:38 pm     Reply with quote

Hi
sily but..
I wrote:

do temp++; while (bit_test(PIN_E1));

and got the error message:

Error[102] E:\chava\kav-kor\kav-kor2.c 35 : Expect comma

does someone knows what wrong(I know its dummy)[/quote]
chava



Joined: 07 Sep 2003
Posts: 56

View user's profile Send private message Send e-mail

sorry... do statement
PostPosted: Tue Jan 13, 2004 2:39 pm     Reply with quote

Embarassed
chava



Joined: 07 Sep 2003
Posts: 56

View user's profile Send private message Send e-mail

found it !
PostPosted: Tue Jan 13, 2004 2:47 pm     Reply with quote

SORRY.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 13, 2004 2:49 pm     Reply with quote

If you get an error you don't understand, you should look
up the syntax of the C statement on the net.
For example, here it is for the do-while statement:
http://www.cee.hw.ac.uk/~pjbk/pathways/cpp1/node129.html

If everything looks OK there, you should look up the
syntax for the CCS function that you are using.
http://www.ccsinfo.com/ccscmanual.zip
Then you may discover not only a syntax
error, but that you're not using the best function.
Then check the manual to find a better one.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group