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
G ESUB3 22
C ESUB2 41
G ESUB2 22
C ESUB1 43
G ESUB1 23
C EMAIN 52
G EMAIN 31

Throw happened in subroutine ESUB3 line 37.
Gosubed from subroutine ESUB3 line 22.
Called from subroutine ESUB2 line 41.
Gosubed from subroutine ESUB2 line 22.
Called from subroutine ESUB1 line 43.
Gosubed from subroutine ESUB1 line 23.
Called from program EMAIN line 43.
Gosubed from program EMAIN line 31.

2

T EMAIN 10

Throw happened in program EMAIN line 10.

See Also

DataBasic Exception Handler