Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Version(2) check for Dev vs. Runtime
Message
De
19/12/2003 16:46:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00860714
Message ID:
00860865
Vues:
17
> #DEFINE Version(2) 0
In the Fox versions I know this defines "VERSION" to the string "(2) 0", and a test like
if version(2) == 0
   * ...
will compile to
if (2) 0(2) == 0
   * ...
A more likely candidate for an evil hack would be
#define version  0*
I like the VMP way of handling this.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform