lua while anweisung

  1. Start with the keyword "while" followed by a condition enclosed in parentheses.
  2. Begin a block of code using the "do" keyword.
  3. Write the body of the loop within the block.
  4. End the loop with the "end" keyword.