step: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
m (Text replacement - "|Game name=" to "|Game name= |gr1= Program Flow |GROUP1= ") |
||
Line 3: | Line 3: | ||
| arma |Game name= | | arma |Game name= | ||
|gr1= Program Flow |GROUP1= | |||
|1.00|Game version= | |1.00|Game version= |
Revision as of 11:40, 18 September 2020
Description
- Description:
- Optionally can set step. If you want to count down, step must be specified, and set negative. Default value is 1.
- Groups:
- Program Flow
Syntax
Examples
- Example 1:
for "_x" from 20 to 10 step -2 do {..code..}
Additional Information
- See also:
- Control Structures
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note