getRecursionDepth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "source>" to "syntaxhighlight>")
 
Line 8: Line 8:
<syntaxhighlight lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
getRecursionDepth()
getRecursionDepth()
</source>
</syntaxhighlight>


|example=
|example=
<syntaxhighlight 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