getMaxLoopIterations: Difference between revisions
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") |
||
(5 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= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
getMaxLoopIterations() | getMaxLoopIterations() | ||
</ | </syntaxhighlight> | ||
|example= | |example= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[r: getMaxLoopIterations()] | [r: getMaxLoopIterations()] | ||
</ | </syntaxhighlight> | ||
|also= | |also= |
Latest revision as of 23:59, 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()]