Search found 12 matches: dobreak

Return to advanced search

Re: mod_harbour TEMPLATE/ENDTEXT

... <?prg return cContent ?> error: Variable does not exist CCONTENT called from: GETERRORINFO, line: 103 called from: DOBREAK, line: 114 function Controller( cRequest ) cContent = If( Empty( cRequest ), "home",; If( cRequest $ "wishlist,login,cart,checkout", ...
by Otto
Mon Jul 08, 2019 7:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: mod_harbour TEMPLATE/ENDTEXT
Replies: 11
Views: 1115

Re: Crear function para Script de Harbour

... "-n", "-Ic:\fwh\include", "-Ic:\harbour\include" ) if ! Empty( oHrb ) BEGIN SEQUENCE bOldError = ErrorBlock( { | o | DoBreak( o ) } ) hb_HrbRun( oHrb ) END SEQUENCE ErrorBlock( bOldError ) endif */ return nil //----------------------------------------------------------------------------// ...
by Compuin
Thu Aug 16, 2018 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear function para Script de Harbour
Replies: 31
Views: 4259

Catching HB_CompileFromBuf() errors

... parameter than when specified as .T. it generates RTE (run time errors) that we can easily catch: ErrorBlock( { | o | MsgInfo( o:Description ), DoBreak() } ) oHrb = HB_CompileFromBuf( cCode, .T. , "-n" ) // The .T. does the magic :-) better later than never ;-)
by Antonio Linares
Mon Apr 02, 2018 3:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Catching HB_CompileFromBuf() errors
Replies: 1
Views: 914

Crear cCode para script de Harbour

... "-n", "-I" + cFWheaders, "-I" + cHBheaders ) if ! Empty( oHrb ) BEGIN SEQUENCE bOldError = ErrorBlock( { | o | DoBreak( o ) } ) uRet = hb_HrbDo( hb_HrbLoad( oHrb ), ... ) END SEQUENCE ErrorBlock( bOldError ) endif return uRet Gracias por los aportes
by Compuin
Mon Jan 02, 2017 3:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear cCode para script de Harbour
Replies: 13
Views: 2345

Re: FiveDBU con soporte de ADO

Ha quedado OK, añadiendo la funcion DoBreak() que he encontrado en el foro
Code: Select all  Expand view  RUN

static function DoBreak()
BREAK
return nil
 

Gracias
by cnavarro
Mon May 27, 2013 8:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FiveDBU con soporte de ADO
Replies: 28
Views: 6790

errorsysw.prg

... http://www.harbour-project.org/ errsysw.prg(377) Warning W0028 Unreachable code 0 error here the piece of code 363 static function DoBreak() 364 365 BREAK 366 377 return nil I compile with these parameters SET HARBOURCMD=/a /es2 /gc0 /m /n /q /w2 /wb- I modified errorsysw.prg with ...
by MarcoBoschi
Fri Oct 15, 2010 8:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: errorsysw.prg
Replies: 1
Views: 469

proposal / request

... PUBLIC cErrorFile := "myerror.log" modify errsysw.prg // Generates a file with an Error Log BEGIN SEQUENCE oOldError = ErrorBlock( { || DoBreak() } ) // MemoWrit( "error.log", cErrorLog ) MemoWrit( M->cErrorFile, cErrorLog ) END SEQUENCE ErrorBlock( oOldError ) In a multi ...
by MarcoBoschi
Tue Nov 10, 2009 3:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: proposal / request
Replies: 5
Views: 991

Pequeño aporte: ¿Qué hacer con Error.log?

... bStaticOnError:=bAction return nil y en la función static function ErrorDialog( e ) : : BEGIN SEQUENCE oOldError = ErrorBlock( { || DoBreak() } ) MemoWrit( "Error.log", cErrorLog ) //Si la carpeta es read-only no habrá error.log // Agregado IF ValType(bStaticOnError)="B" ...
by César E. Lozada
Fri Nov 06, 2009 5:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pequeño aporte: ¿Qué hacer con Error.log?
Replies: 3
Views: 795

... " + ; LTrim( Str( nSymNames() * 16 ) ) + " bytes" */ // Generates a file with an Error Log BEGIN SEQUENCE oOldError = ErrorBlock( { || DoBreak() } ) MemoWrit( "Error.Log", cErrorLog ) END SEQUENCE ErrorBlock( oOldError ) /* PANTALLA DE CONTROL DEL ERROR */ DEFINE FONT oFont NAME "Ms ...
by karinha
Mon Jan 22, 2007 9:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: To Antonio - GPF com MDICHILD + DIALOG
Replies: 5
Views: 1926

... 0005:FB5E 0018DH _MESFECHA_ CODE 0005:FCEC 0003FH ERRORSYS CODE 0005:FD2C 00023H ERRORLINK CODE 0006:0000 01366H ERRORDIALO CODE 0006:1366 0002AH DOBREAK CODE 0006:1390 00162H ERRORMESSA CODE 0006:14F2 000C8H CGETINFO CODE 0006:15BA 001C0H VERANCHO CODE 0006:177A 00097H OSCOPE CODE 0006:1812 00247H ...
by Connan
Fri Mar 03, 2006 10:28 am
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3669

GPF, como buscar el Error

... 0005:F8FA 0018DH _MESFECHA_ CODE 0005:FA88 0003FH ERRORSYS CODE 0005:FAC8 00023H ERRORLINK CODE 0006:0000 01366H ERRORDIALO CODE 0006:1366 0002AH DOBREAK CODE 0006:1390 00162H ERRORMESSA CODE 0006:14F2 000C8H CGETINFO CODE 0006:15BA 001C0H VERANCHO CODE 0006:177A 00097H OSCOPE CODE 0006:1812 00463H ...
by Connan
Tue Feb 28, 2006 5:36 pm
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3669

Error de Proteccion General.

... CODE 0007:09EA 0003CH CREATE CODE 0007:0A26 00322H CREATE CODE 0007:0D48 00322H CREATE CODE 0007:106A 00312H CREATE CODE 0007:137C 0001EH DOBREAK CODE 0007:139A 0009EH ADD CODE 0007:1438 000D5H ADD CODE 0007:150E 0006AH ADD CODE 0007:1578 000C0H ADD CODE 0007:1638 0032CH ADD CODE 0007:1964 ...
by Garbi
Wed Nov 02, 2005 3:38 pm
 
Forum: FiveWin para CA-Clipper
Topic: Error de Proteccion General.
Replies: 5
Views: 4654

Return to advanced search

cron