Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inline function with #define?
Message
De
24/10/2001 11:55:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Inline function with #define?
Divers
Thread ID:
00572671
Message ID:
00572671
Vues:
45
Hi all,

is it possible to create sort of inline function with the #define statement? Something like:
#define FOO(x)   TRANSFORM(x/10)

? FOO(500)
I remember having seen that before, but probably it was another language.

TIA Robert
I've acquired quite a taste for a well-made mistake... [Fiona Apple]
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform