While loop
From GMpedia.org Wiki
The while loop executes a statement over and over as long as the condition written in the while statement itself is true.
WHILE <statement> <expression> END WHILE
In GML, this would be the following
while (<statement>)
{
<expression>
}

