getMaxLoopIterations: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=getMaxLoopIterations |version=1.4.0 |description= Returns the max amount of loops (in {{roll|count}}, {{roll|foreach}}, {{roll|for}}, {{roll|while}}) tha...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=getMaxLoopIterations
|name=getMaxLoopIterations
|version=1.4.0
|version=1.4.0.2
|description=
|description=
Returns the max amount of loops (in {{roll|count}}, {{roll|foreach}}, {{roll|for}}, {{roll|while}}) that are allowed.
Returns the max amount of loops (in {{roll|count}}, {{roll|foreach}}, {{roll|for}}, {{roll|while}}) that are allowed.


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


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


|also=
|also=

Latest revision as of 20:50, 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

getMaxLoopIterations()

Example

[r: getMaxLoopIterations()]

See Also