Difference between revisions of "MC-Basic:BACKTRACE$"

From SoftMC-Wiki
Jump to: navigation, search
m
m
Line 10: Line 10:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Print function stack of the task, including function or subroutine name.
+
Prints the function stack of the task, including function or subroutine name.
  
 
{{Note|BackTrace can only be executed for a task that is not in the running state.}}
 
{{Note|BackTrace can only be executed for a task that is not in the running state.}}

Revision as of 10:22, 20 March 2014

Prints the function stack of the task, including function or subroutine name.

NOTE-Info.svgNOTE
BackTrace can only be executed for a task that 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

See Also