getMaxLoopIterations: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page GetMaxLoopIterations to getMaxLoopIterations: Converting page titles to lowercase)
m (Text replacement - "source>" to "syntaxhighlight>")
Line 8: Line 8:
<source lang="mtmacro" line>
<source lang="mtmacro" line>
getMaxLoopIterations()
getMaxLoopIterations()
</source>
</syntaxhighlight>


|example=
|example=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[r: getMaxLoopIterations()]
[r: getMaxLoopIterations()]
</source>
</syntaxhighlight>


|also=
|also=

Revision as of 18:32, 14 March 2023

getMaxLoopIterations() Function

Introduced in version 1.4.0.2
Returns the max amount of loops (in [count():], [foreach():], [for():], [while():]) that are allowed.

Usage

<source lang="mtmacro" line> getMaxLoopIterations() </syntaxhighlight>

Example

<source lang="mtmacro" line>

[r: getMaxLoopIterations()]

</syntaxhighlight>

See Also