step: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Optionally can set step. If you want to count down, step must be specified, and set negative. Default value is 1. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | for /.../ '''step''' step |= Syntax | ||
|p1= for /.../: [[For Type]] |= Parameter 1 | |||
|p2= step: [[Number]] |= Parameter 2 | |||
| [[For Type]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>for "_x" from 20 to 10 step -2 do {..code..}</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|STEP]] | |||
[[Category:Scripting Commands ArmA|STEP]] | |||
Revision as of 23:53, 1 August 2006
Description
- Description:
- Optionally can set step. If you want to count down, step must be specified, and set negative. Default value is 1.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
for "_x" from 20 to 10 step -2 do {..code..}
Additional Information
- See also:
- See also needed
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