Antonio:
Como dijo M. L. King, "Tengo un sueño", que tan posible es crear un LIB como
la xaScript de tu ex o como la de xHarbour profesional ????.
Saludos
oHrb = HB_CompileFromBuf( StrTran( ::oEditor:GetText(), "Main", "__Main" ),;
"-n", "-I..\include", "-Ic:\harbour\include" )
oHrb = HB_CompileFromBuf( StrTran( ::oEditor:GetText(), "Main", "__Main" ),;
"-n", "-I" + AllTrim( ::cFWHPath ) + "\include",;
"-I" + AllTrim( ::cHarbPath ) + "\include" )
METHOD RunScript() CLASS TFivedit
local oHrb, cResult, bOldError
FReOpen_Stderr( "comp.log", "w" )
oHrb = HB_CompileFromBuf( StrTran( ::oEditor:GetText(), "Main", "__Main" ),;
"-n", "-I" + AllTrim( ::cFWHPath ) + "\include",;
"-I" + AllTrim( ::cHarbPath ) + "\include" )
if "error" $ MemoRead( "comp.log" )
MsgInfo( MemoRead( "comp.log" ), "Error" )
else
if ! Empty( oHrb )
BEGIN SEQUENCE
bOldError = ErrorBlock( { | o | DoBreak( o ) } )
hb_HrbRun( oHrb )
END SEQUENCE
ErrorBlock( bOldError )
endif
endif
return nil
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 29 guests