At 11:42 2017-05-10, Fred Taylor fbtaylor@gmail.com wrote:
Sounds perfectly legit as an error to me. Property references inside the WITH/ENDWITH begin with a ".". VFP couldn't tell the difference between ".f" and a ".someproperty" reference so there would be no error at compile time. Not every scenario can be accounted for at compile time the way it works. Maybe they COULD HAVE errored it at compile time, since there was no active WITH/ENDWITH when the ".f" was encountered.
It would have to be an error. I was *defining a property*. That is done in a class definition outside of any method. WITH/ENDWITH and other executable statements are not allowed at that point of a class definition.
[snip]
Sincerely,
Gene Wirchenko