Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Found the value of the variable in include file
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Found the value of the variable in include file
Divers
Thread ID:
00491334
Message ID:
00491334
Vues:
49
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform