EXCEPT.STK() Function
The DataBasic EXCEPT.STK function returns the last exception code level return stack. This will be a null string if no exception has been generated.
Syntax
EXCEPT.STK()
Examples
| 1 | 
                            T ESUB3 37 | Throw happened in subroutine ESUB3 line 37. | 
| 2 | T EMAIN 10 | Throw happened in program EMAIN line 10. |