for

From QuestWiki
Jump to: navigation, search
for (iterator variable, int from, int to) { script }

As of Quest 5.1 there is an optional "step" parameter:

for (iterator variable, int from, int to, int step) { script }

Run a script multiple times, incrementing the iterator variable between the specified limits. If a "step" parameter is specified, the iterator variable will be incremented by that amount each time (if not specified, the default step size is 1).

See Using Lists

< Back to Script Commands
Retrieved from "http://quest5.net/wiki/For"
Personal tools
Namespaces
Variants
Actions
Navigation
Quest Documentation
Toolbox