for: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(_x is a magic variable... _i seams better) |
||
Line 2: | Line 2: | ||
*[[for forspec]] | *[[for forspec]] | ||
'''Example''' | '''Example''' | ||
for [{ | for [{_i=1},{_i<=10},{_i=_i+1}] do {}; | ||
*[[for var]] | *[[for var]] | ||
'''Example''' | '''Example''' | ||
for " | for "_i" from 1 to 10 do {}; | ||
Revision as of 15:00, 7 August 2015
for can refer to these scripting commands:
Example
for [{_i=1},{_i<=10},{_i=_i+1}] do {};
Example
for "_i" from 1 to 10 do {};