MC-Basic:BACKTRACE$
Print function stack of the task, including function or subroutine name.
BackTrace can be only executed for the task, which is not in the running state
Syntax
BackTrace$ <task name string>
Availability
Version 4.5.3 and higher
Type
<task name string>: string
Range
<task name string>: name of a task that is loaded in memory
Scope
Task or Terminal
Limitations
Read-Only. Task must be loaded in memory.
Examples
BackTrace “XYRot.prg”
Common shared TaskName as string = “XYRot.prg”
BackTrace$ TaskName