define class xx twice

Author: Thierry Nivelet

Posted: 2016-11-18 at 02:34:02

Hi,

Just to be sure, would this behavior always be true wherever both DEFINE

CLASS are located?

dupClassTest = CreateObject('dupClassTest')

? dupClassTest.dupClassTest && 'duplicate'

DEFINE CLASS dupClassTest as Custom

dupClassTest = 'original'

enddefine

DEFINE CLASS dupClassTest as Custom

dupClassTest = 'duplicate'

enddefine

--

Thierry Nivelet

FoxInCloud

Give your VFP app a second life in the cloud

http://foxincloud.com/

_______________________________________________

Post Messages to: ProFox@leafe.com

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/1c89176c-f329-b483-95c9-86042c884a83@foxincloud.com

** 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.

©2016 Thierry Nivelet