Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Found the value of the variable in include file
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Found the value of the variable in include file
Miscellaneous
Thread ID:
00491334
Message ID:
00491334
Views:
50
Hi everybody,

I have several variables defined in include file, for instance:
#DEFINE APN_NOTDO ' '
#DEFINE APNMS_NOTDO "APN calculation not performed"

#DEFINE PARSE_NOTDO ' '
#DEFINE PARSEMS_NOTDO "Parsing Mapref not performed"

#DEFINE MAPREF_NOTDO ' '
#DEFINE MAPREFMS_NOTDO "Changing Mapref not performed"

#DEFINE APN_COMPL 'C'
#DEFINE APNMS_COMPL "Completed APN calculation successfully"

#DEFINE PARSE_COMPL 'C'
#DEFINE PARSEMS_COMPL "Completed Parsing Mapref successfully"
Now I want to retrieve the values of these variables, but I want to use variable name, e.g.
tcVarName could be "APN","PARSE" or "MAPREF" and I want to retrieve APN_COMPL value. I tried different combinations and nothing worked.

Is it possible at all? Could you please help me here?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform