GetStackTrace (open)

Get the current stack trace

Syntax

// Core function, no LOADLIB necessary

RECORD ARRAY FUNCTION GetStackTrace()

Return value

RECORD ARRAY

The stack entries, starting with the function which invoked GetStackTrace()

STRING filename

Filename

STRING func

Function name (:INITFUNCTION for code outside a function)

INTEGER line

Line number (1-based)

INTEGER linecol

Column number (1-based)