getRecursionDepth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Text replacement - "source>" to "syntaxhighlight>")
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=getRecursionDepth
|name=getRecursionDepth
|version=1.4.0
|version=1.4.0.2
|description=
|description=
Returns the current amount of recursive calls that are used.
Returns the current amount of recursive calls that are used.


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
getRecursionDepth()
getRecursionDepth()
</source>
</syntaxhighlight>


|example=
|example=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[r: getRecursionDepth()]
[r: getRecursionDepth()]
</source>
</syntaxhighlight>


|also=
|also=

Latest revision as of 21:01, 14 March 2023

getRecursionDepth() Function

Introduced in version 1.4.0.2
Returns the current amount of recursive calls that are used.

Usage

getRecursionDepth()

Example

[r: getRecursionDepth()]

See Also