setMaxLoopIterations

From RPTools Wiki
Revision as of 22:30, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page setMaxLoopIterations to SetMaxLoopIterations without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

setMaxLoopIterations() Function

Introduced in version 1.4.0.2
Sets the max amount of loops (in [count():], [foreach():], [for():], [while():]) that are allowed. The current allowed min is 10,000. Note that this settings lasts only for the current session.

Usage

setMaxLoopIterations(numLoops)

Where

  • numLoops is the new maximum allowed iterations, this value cannot be lower than 10,000

Example

[r: setMaxLoopIterations()]

See Also