>
>No go, Craig. You can't #define function names, AFAIK. I've tried your example, and tried
>
> #define myfunc(a,b) abs(a+b)
> ?myfunc(1,2)
>
>But it displays several very imaginative error messages, depending on the way you try to fool it - and still doesn't go. Clipper had something like this, and though it would make for more unreadable code and a more complicated compiler, I'd still like to have it.
>
>You can still
>
>#define ConfigFile sys(2019)
>#define PushText Fwrite(fHandle,
>
>and then do
>
>modi comm ConfigFile
>fHandle=fcreate("whatever.txt")
>PushText "Hello, world")
>
>...and greatly reduce the typing efforts and readability :)
Hmm...ok...it was just a thought. I'll pass on the original request to Microsoft.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer