Ron,
the following code causes the compiler to GPF:
//------------------------------
#include "HBClass.ch"
CLASS Test
METHOD New()
ENDCLASS
METHOD New() CLASS Test
LOCAL a := {|| ::New() }
RETURN Nil
//------------------------------
The GPF is caused by using any object inside a codeblock, when it's not
passed to the own codeblock as an argument.
That is, this causes GPF:
a := {|| x:New() }
while this doesn't:
a := {| x | x:New() }
NOTE: I'm using BCC 5.5, and I've updated from CVS yesterday.
Regards,
Jose F. Gimenez
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers