I added a define in my code that needs to be set to different value
based on who I'm compiling for. I want to just uncomment the correct
DEFINE. The Include file is included properly, and all other defines
work. The following does not work (trying to define _CLIENT_ID as
"CITYTHREE)
*#DEFINE _CLIENT_ID .NULL. && Default. Not customized, set null
*#DEFINE _CLIENT_ID "CITYONE"
*#DEFINE _CLIENT_ID "CITYTWO"
#DEFINE _CLIENT_ID "CITYTHREE"
*#DEFINE _CLIENT_ID "CITYFOUR"
*#DEFINE _CLIENT_ID "CITYFIVE"
The following line crashes with a message that _CLIENT_ID is an unknown
variable:
cClientid = _CLIENT_ID
However, if I simply have a blank line before and after my DEFINE, as
below, the above line works perfectly. What am I missing? Thanks.
*#DEFINE _CLIENT_ID
.NULL. && Default. Not customized, set null
*#DEFINE _CLIENT_ID "CITYONE"
*#DEFINE _CLIENT_ID "CITYTWO"
#DEFINE _CLIENT_ID "CITYTHREE"
*#DEFINE _CLIENT_ID "CITYFOUR"
*#DEFINE _CLIENT_ID "CITYFIVE"
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.