Hi Przemek,

You're right. It works.

My fault is I thought hbcompat.ch would make the work and it seems it doesn't make it.

Why ?

Many thanks
Juan

----- Original Message ----- From: "Przemyslaw Czerpak" <[email protected]>
To: "Harbour Project Main Developer List." <[email protected]>
Sent: Friday, March 13, 2009 7:19 PM
Subject: Re: [Harbour] Block methods and extended codeblock


On Fri, 13 Mar 2009, Juan Gálvez wrote:

Hi,

I think extended codeblocks don't work inside block methods and I wonder if
it's a well-known and expected behavior.
CLASS MyClass
...
METHOD lMyMethod( xArg ) BLOCK <|Self, xArg|
                                                               ...
                                                               RETURN .T.
                               >
...
END CLASS

I think they work. It's enough to use extended codeblocks ;-)
  {||
     ...
     RETURN .T.
  }
not:
  <||
     ....
  >

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour


__________ Informacin de ESET NOD32 Antivirus, versin de la base de firmas de virus 3937 (20090314) __________

ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com




_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to