>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only