In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TRY ... CATCH ... Error Handling

Xailer professional forum in English
Responder
Avatar de Usuario
emeasoft
Mensajes: 1094
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

TRY ... CATCH ... Error Handling

Mensaje por emeasoft »

Hello Xailers,
With xHarbour I was able to use "oError:ProcName()" to catch the error that occurs on the routine TRY CATCH or BEGIN SEQUENCE.
But with harbour, this is not possible anymore... Is there any alternative to that? Or an alternative way to do the error handling?
TIA,
Juliano

Attached files TRY_CATCH.zip (3.2 KB)Â
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TRY ... CATCH ... Error Handling

Mensaje por ignacio »

Hello,
I'm afraid is one of things we have miss on Harbour There is not an easy solution to this problem.
BTW, In Xailer 3 we have overcome this limitation when used on TRY-CATCH blocks with a little work on our side.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder