Hi All,
I made a simple example to demonstrate the problem:
#include <iostream>
using namespace std;
#define MACRO1(x) \
cout << #x << "(" << (x) << ")"; \
int main()
{
int var1;
var1 = 44;
MACRO1(var1);
return 0;
}
The result of this simple example on the screen is:
var1(4)
Can I do the same thing with FPC in a simple way? I translate some C
source to FPC and try to follow the original code.
Gabor
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal