Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get preprocessed code.
Message
From
12/11/2004 05:53:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Get preprocessed code.
Miscellaneous
Thread ID:
00960730
Message ID:
00960730
Views:
47
I have a problem.

I need to have the preprocessed sourcecode ( #DIRECTIVES applied ).
Exist a way for this ?
This is for debug control.

But the same problem has a greater impact in the following case:
- Properties expression are not preprocessed ( a bug for me )
- i want use WriteExpression for put into a property the preprocessed expression

Exampe:
#DEFINE PRECONSTANT1 1
* table.expression is 'm.this.byby>PRECONSTANT1'
objselected[1].WriteExpression('someprop',??????)
* now objselected[1].someprop have to be = m.this.byby>1
Someone knows one mode ( ????? operation ) in order making to make it to the VFP preprocessor ?

The only way that i found for use preprocessor at runtime is with COMPILE/EXECSCRIPT,
but i have not found a way for get the preprocessed code.

I have to rewrite the VFP preprocessor ?
A lot frustrating, I have the vfp preprocessor available, but I cannot use it.

Thanks,
Fabio
Next
Reply
Map
View

Click here to load this message in the networking platform