Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UDF transmutation
Message
From
15/09/2015 03:54:46
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
15/09/2015 03:49:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01623094
Message ID:
01624614
Views:
52
>>>>
>>>>This is all beside the point of my question - how can I dynamically - at compile time - replace a UDF with a native approach.
>>>
>>>You cannot - foxpro's preprocessor does not handle marcros like C does
>>
>>Gregory,
>>
>>let's say not with native VFP compile command.
>>
>>If one is willing to code a kind of pre - preprocessor using a project hook or the like, at least for projects it should be possible ....
>Yes, but such a thing would need to modify the sources I take it

Something like create a copy, modify, compile, restore. Teh devil to debug.

>>A C style macro expansion in VFP ... (*.*)
>
>Shouldn't be tthat difficult
> - process (conditional) nested includes - nice
>- write something to grab the optional arguments

I offer a tray of beer.

>>[gdr]
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform