DataBasic Reference > DataBasic Exception Handler > Get Exception Code Level Return Stack - EXCEPT.STK()

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

EXCEPT.STK() Function (dbasic_exception_hndlr_exceptstk.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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

RealityV15.1 (MoTW) Revision 7Comment on this topic