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 CCS Technical Support

#serialize (oh not again)

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



Joined: 13 May 2004
Posts: 90
Location: Nashville, TN

View user's profile Send private message Send e-mail Visit poster's website

#serialize (oh not again)
PostPosted: Wed Mar 30, 2005 3:53 pm     Reply with quote

I've decided to give #serialize another try, but still can't get it to work. Wrote my code as follows:

Code:
unsigned int32 getUnitID() {
   const unsigned int32 serialNumA = 200;
   #serialize(id=serialNumA,next="200",prompt="Enter the serial number")
   return serialNumA;
}


When I program the device, I'm prompted correctly, but if I enter anything other than 0 I'm told, "ID code is too big for memory location."

???

--
Jeff S.
object01



Joined: 13 May 2004
Posts: 90
Location: Nashville, TN

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Apr 19, 2005 3:31 pm     Reply with quote

The answer!

From CCS Tech Support:
Quote:
The problem is the compiler expects the ID in a #serialize to be all upper case if #case is active. This will be fixed in the next release. Meanwhile make the identifier all uppercase everywhere you use it.


By "next release" they seem to be referring to whatever will come after 3.223.

--
Jeff S.
object01



Joined: 13 May 2004
Posts: 90
Location: Nashville, TN

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Apr 19, 2005 3:32 pm     Reply with quote

The answer!

From CCS Tech Support:
Quote:
The problem is the compiler expects the ID in a #serialize to be all upper case if #case is active. This will be fixed in the next release. Meanwhile make the identifier all uppercase everywhere you use it.


By "next release" they seem to be referring to whatever will come after 3.223.

--
Jeff S.
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