getRecursionDepth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=getRecursionDepth |version=1.4.0 |description Returns the current amount of recursive calls that are used. |usage= <source lang="mtmacro" line> getRecur...")
 
m (Text replacement - "source>" to "syntaxhighlight>")
 
(6 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 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