setMaxRecursionDepth

From RPTools Wiki
Revision as of 07:54, 20 July 2016 by Wolph42 (talk | contribs) (Created page with "{{MacroFunction |name=setMaxRecusionDepth |version=1.4.0 |description Returns the current amount of recursive calls that are used. |usage= <source lang="mtmacro" line> setMax...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setMaxRecusionDepth() Function

Introduced in version 1.4.0

Usage

setMaxRecusionDepth(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.

Example

[h: setMaxRecusionDepth(200)]

See Also