while
while loop.
📝Syntax
while test_expression, statements, end
📄Description

while loop executes a set of statements as long as a the test condition remains true.

💡Examples
i = 0;
while lt(i, 10)
  disp(i)
  i = i + 1;
end
🔗See Also
for
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub