while
The while keyword is used to create loops that execute while a condition is true.
Syntax
while (condition)
{
}
Example Code
var int32 i = 0;
while (i is less than 10)
{
std::print("${i}\n");
++i;
}
var int32 i = 0;
while (i < 10)
{
std::print("${i}\n");
++i;
}