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

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
m
Line 4: Line 4:
  
 
|SYNTAX=
 
|SYNTAX=
BackTrace$ ''<task name string>''
+
BackTrace$ <''task name string''>
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 15: Line 15:
  
 
|TYPE=
 
|TYPE=
''<task name string>'': string
+
<''task name string''>: string
  
 
|RANGE=
 
|RANGE=
''<task name string>'': name of a task that is loaded in memory
+
<''task name string''>: name of a task that is loaded in memory
  
 
|UNITS=
 
|UNITS=
Line 30: Line 30:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read only. Task must be loaded in memory.
+
*Read only.
 +
*Task must be loaded in memory.
  
 
|EXAMPLE=
 
|EXAMPLE=
 
BackTrace “XYRot.prg”
 
BackTrace “XYRot.prg”
 
 
  
 
Common shared TaskName as string = “XYRot.prg”
 
Common shared TaskName as string = “XYRot.prg”

Revision as of 10:21, 20 March 2014

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

NOTE-Info.svgNOTE
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

See Also