getRecursionDepth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page getRecursionDepth to GetRecursionDepth without leaving a redirect: Converting page title to first-letter uppercase)
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 23:59, 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