S

Displays the return stack for internal and external subroutines, and external functions.

Syntax

S

Display

For each CALL or GOSUB statement, or external function call, the current program name and line number are displayed, prefixed by C (CALL), G (GOSUB) or F (function call). The current routine is at the top, prefixed by a chevron. If an INCLUDE statement is encountered, the actual line in the source program is shown in square brackets, appended to the line.

Comment

This same information is returned by the DataBasic SYSTEM(116) function.

Example

*S
> SSUB2 11
G SSUB2 2
C SSUB1 10
G SSUB1 2
C SPROG 177, [11]
G SPROG 173, [7]
G SPROG 169, [3]