General information
Category:
Coding, syntax & commands
Is there any way I can get an Error handler to stop the processing of the original procedure/function (i.e. that caused the error), without having to use a global flag.
My colleague does this :
ON ERROR ErrHandler(various parameters) && This sets the value of glError
do something1
if glError then
glError = .F.
return
endif
do something2
if glError then
glError = .F.
return
endif
I hope there's a better way of doing it than this.
Thanks in advance
Pablo
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only