Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inline function with #define?
Message
 
 
To
24/10/2001 11:55:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00572671
Message ID:
00572674
Views:
20
This message has been marked as the solution to the initial question of the thread.
>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.
>

Not in VFP. You can do that in C/C++.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform