ttrGetCurrentScope
ttrGetCurrentScope(
)
=> l_scopeName / nil
Description
Returns the names of the active scopes. An active scope can be enabled for tracking by using the ttrStartTracking SKILL function.
Arguments
Value Returned
Examples
The following code returns Scope1 as the name of the scope being tracked.
ttrStartTracking("Scope1")
ttrGetCurrentScope()
=>("Scope1")
The following code returns nil because no scope is being tracked.
ttrStopTracking("Scope1")
ttrGetCurrentScope()
=>nil
Related Topics
Return to top