Hi Gregory,
>Anyone can reproduce / explain the code below ?
I agree with Sergey that this is a bug in VFP. It looks like it's related to "aa" being the first string in the #DEFINE statement. As soon as you insert another character in front like "m.aa=aa", "?aa=aa", "(aa=aa)", etc., the replacement works correctly.
--
Christof
--
Christof