Hi again,

----- Original Message ----- From: "Petr Chornyj" <[EMAIL PROTECTED]>
To: <harbour@harbour-project.org>
Sent: Tuesday, October 14, 2008 6:48 PM
Subject: Re: Re: [Harbour] Inconsistency in DATA Types


[EMAIL PROTECTED] wrote:

BTW I can change empty codeblock datas from nil to {||nil} and eval it
always, instead check it.

Why you can't check it as
if hb_IsBlock( oClass:bDraw )
  Eval( oClass:bDraw )
endif

one more other possibility is to insert an :eval() method for the native type nil which does nothing, and just call

oClass:bDraw:eval()

frank
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to