Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional Programming By Version
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Conditional Programming By Version
Divers
Thread ID:
00811991
Message ID:
00811991
Vues:
51
I am moving my application to VFP8, but during the process, I need/want to be able to recompile in 7 if I have a major issue that needs to be corrected. Is there a way to condition the code by version, like:
if subs(version(4),1,2)=[08]
    SET ENGINEBEHAVIOR 
else
    *VFP7 Code
endif 
Right now, if I try this type of code, I get compile error in 7 with the set enginebehavior

Thanks
Kirk
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform