Haxe supports two forms of looping keywords: for and while.
Haxe does not support the C-style of for loops. All for loops follow the for… in pattern.
For the purposes of moving through a range of values, Haxe supports a range operator that defines a pattern of min…max where min is inclusive and max is exclusive.
Haxe also understands more complex data structures through functionality known as comprehension. Loop keywords can be used to move through the data entries.
The while keyword works on Boolean expressions in Haxe. They continue to loop until the condition is no longer true.