Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single exit-point
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00640316
Message ID:
00640575
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform