View previous topic :: View next topic |
Author |
Message |
ajt
Joined: 07 Sep 2003 Posts: 110
|
TCPIP Examples Case Sensitive |
Posted: Mon Jul 16, 2012 7:28 pm |
|
|
TCPIP examples appear to be case sensitive. For example, ex13.c is clearly case sensitive. I cannot find a #case or #device ANSI line anywhere in the TCPIP folder.
How is the CCS default of non-case sensitive being changed and where? For that matter, are int's signed or unsigned in the TCPIP code?
Thanks _________________ Al Testani |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1612 Location: Central Illinois, USA
|
|
Posted: Mon Jul 16, 2012 10:41 pm |
|
|
It has to be turned on SOMEWHERE... otherwise, CCS is case insensitive.
look in the CCS help for PREPROCESSOR items.
In this case (no pun),
#CASE
Cheers,
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
ajt
Joined: 07 Sep 2003 Posts: 110
|
|
Posted: Tue Jul 17, 2012 10:48 am |
|
|
bkamen wrote: | It has to be turned on SOMEWHERE... otherwise, CCS is case insensitive.
look in the CCS help for PREPROCESSOR items.
In this case (no pun),
#CASE
Cheers,
-Ben |
I had done all sorts of searching but guess what??? I had the search set to case sensitive (for some reason I don't know)! I finally found it in stacktsk.h and it is lower case (#case).
So in this case, searching for #CASE with the search set to case sensitive and it is lower case in the code as #case is a case of not following the case conventions for keywords. (sorry... couldn't resist <g>) _________________ Al Testani |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1612 Location: Central Illinois, USA
|
|
Posted: Tue Jul 17, 2012 3:15 pm |
|
|
No worries.
Glad you found it.
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
|