getMaxRecursionDepth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Azhrei moved page getMaxRecusionDepth to getMaxRecursionDepth without leaving a redirect: fix typo in function name)
m (Conversion script moved page getMaxRecursionDepth to GetMaxRecursionDepth without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:30, 9 February 2023

getMaxRecursionDepth() Function

Introduced in version 1.4.0.2
Returns the max amount of recursive calls that are allowed. However The recursion depth of the parser is not quite straight forward, there are actually two different recursion depths that track two different types of recursive calls, you can have up to 150 of each, the getRecursionDepth() will return the greater of the two levels.

Usage

getMaxRecursionDepth()

Example

[r: getMaxRecursionDepth()]

See Also