Hi is it possible to add an event like 'on_error' that allows us to execute a function when an error occurs. I could really use this for my scripting app.

Preferably parameters such as 'line_number' and 'current_module' would be passed to the function. By 'current_module' I mean the object/function that the error occured in.

If there was a way to hook this up when compiling a script too that would be awesome. Right now 'ackerr.txt' only prints the first error it finds.

Last edited by DJBMASTER; 02/10/10 01:50.