Whoa, what is going on here? This is STRANGE behavior.
Now, the real question is: are YOU experiencing this strange behavior too, or is it only my installation of VFP 6.0 that is acting in such a funny way? Please, please let me know your results. And if you DO get my strange behavior, is this a known phenomenon in VFP (problems using a udf() with a FOR statement) and where can I read about it.
Caution: Do NOT try this on a large table. The best size is about two dozen records.