HB_FUNCPTR(<x>) function in Harbour?

HB_FUNCPTR(<x>) function in Harbour?

Postby Horizon » Wed Jun 26, 2013 8:43 pm

Hi,

I used to this function to be know is a function defined in my program compiled from xHarbour.

Code: Select all  Expand view
FUNCTION Method_Run1(bRunBlock, cRunBlock, lResult)
LOCAL bTemp, Result := lResult
    DEFAULT Result := .T.
    IF !Empty(bRunBlock) .AND. HB_FUNCPTR(cRunBlock)<>NIL
        Result := Eval(bRunBlock)
    ENDIF
RETURN Result
 


How can I know it in Harbour?

Thanks
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: HB_FUNCPTR(<x>) function in Harbour?

Postby Antonio Linares » Thu Jun 27, 2013 6:25 am

Hakan,

Traditionally since Clipper you can do:

? Type( "FunctionName()" ) != "UE"

http://www.fivetechsoft.com/harbour-docs/harbour-reference-guide.htm#Type
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42092
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 99 guests