getRecursionDepth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Text replacement - "source>" to "syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:


|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