FOR
FOR(<#var>,<start>,<end>)
Type: Action
Category: Control Flow
Permission: N/A
Since Minecraft Version: v1.3
Since Version: v0.9
Minor: 9
API: N/A
Patch: N/A
Description
Begins a for loop using the specified <#var> as a loop counter.
Needs to be closed with NEXT.
The loop can be exited early by using BREAK.
Alternative syntax:
FOR(<#var> = <start> to <end>)
FOR(<#var> = <start> to <end> step <step>)Related Resources
Changelog
- Added em v0.9:
- Updated em v0.12.1: Can now set step value