Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single exit-point
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00640316
Message ID:
00640575
Vues:
28
>Gérald,
>
>how about putting the defines in a header file, so everyone clearly sees what's going on when looking at ...
>
>
>RETU S1 AND S2 AND S3
>
>

Shorter ....

#DEFINE THE3STEPS StepOne() AND StepTwo() AND StepThree()
RETU THE3STEPS
:-)


>In C this would be really nice. You could also increment the return value of TRUE or FALSE, so even if the expression results in FALSE it returns TRUE. But you could distinguish this by comparing the result with 1 or 2.
>
>
>return (S1() & S2() & S3())++
>
>
>;-)
>
>Armin
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform