Dear all,
*VFP6 SP5
I was sure that this code block ...
local ok
ok = .t.
if ok = .t.
wait wind 'ok'
else
wait wind 'not ok'
endif
... by all means must show 'ok' .
But if u have table or cursor containing
field: ok L(1)
open in yr current datasession like ...
create cursor test ( ok L , bugid I )
local ok
ok = .t.
if ok = .t.
wait wind 'ok'
else
wait wind 'not ok'
endif
... then is 'not ok' .
I would preffer 'illegal redefinition' error message,
rather then this where field value overlaps local variable without any warning ...
Am I wrong ?