Remove m. from CATCH TO m.loException, use just CATCH TO loException.
Little problem (bug?) here. Was either discussed here before or I got this problem too, don't recall.
>While adding a new driver to my Query.app utility, I started throwing an error on the CATCH statement; try/catch/finally/endtry mismatch or error. Here the try/catch block...
>
> TRY
> THIS.Support.Convert2Cursor(tcSQL)
> CATCH TO m.loException
> THIS.SaveError( m.loException, "Error occurred during Convert2Cursor method." )
> ENDTRY
>
>
>After returning from the Convert2Cursor function, the error occurs on the Catch. I have step through the entire and found no error and no other Try block.
>
>Any suggestion in how to stop this error would be helpful.
>
>Thanks
If it's not broken, fix it until it is.
My Blog