--condition = true  

while condition do
  --statements
end

repeat
  --statements
until condition