At 11:42 2017-05-10, Fred Taylor <[email protected]> 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


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/7c7c9be132667f9ff9ab3280b80ea822@mtlp000085
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to