setMaxRecursionDepth

From RPTools Wiki
Revision as of 23:32, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page SetMaxRecursionDepth to setMaxRecursionDepth: Converting page titles to lowercase)
Jump to navigation Jump to search

setMaxRecursionDepth() Function

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

Usage

setMaxRecursionDepth(depth)

Where

  • depth is the new maximum allowed recursive calls. Note that the depth can never be lower then the default depth, which is 150, setting it lower will result in a depth of 150. Setting this value higher is obviously at your own risk as this has a serious impact on the stack. Note that this settings lasts only for the current session.

Example

[h: setMaxRecursionDepth(200)]

See Also