while test_expression, statements, end
while loop executes a set of statements as long as a the test condition remains true.
i = 0; while lt(i, 10) disp(i) i = i + 1; end