getRecursionDepth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page GetRecursionDepth to getRecursionDepth: Converting page titles to lowercase)
m (Text replacement - "<source" to "<syntaxhighlight")
Line 6: Line 6:


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


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

Revision as of 20:55, 14 March 2023

getRecursionDepth() Function

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

Usage

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

Example

<syntaxhighlight lang="mtmacro" line>

[r: getRecursionDepth()]

</source>

See Also