Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This is correct ?
Message
From
03/01/2005 03:55:17
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00973168
Message ID:
00973764
Views:
16
>Hi Fabio,
>
>Sergey has given you a good example on its use. It's definitely one of the functions one rarely ever needs.
>
>> Instead it evaluate ( reduce ) the expression!
>
>"evaluate an expression" means that VFP actually calls a function or fires an Access method. Nothing like this happens with NORMALIZE(). If you normalize "STRTOF('test','test.txt')" the only thing happens is that you get a different return value, but you won't see a test.txt file on your disk. If you pass the same string to EVALUATE(), you end up with a file. What NORMALIZE does is
>
>1) parsing the expression into tokens (like compining)
>2) converting tokens into a string expression
>
>This is what happens with all functions that return VFP expressions. Internally SET FILTER uses the tokenized version of an expression to evaluate the filter.

Hi Christof.

Infact.

Ill-fatedly VFP does not have:
EVALBINARY(varBinary) && eval a tokenyzed expression
EXECBINARY(varBinary) && execute a fxp code
....

These would increase the power of the language tremendously.
You think that exist a way in order to implement this now ( with C and hacking in VFP structures )

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform