Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

repeat until lua

-- Prints all square numbers up to 100

c = 1
repeat
print(c .. " squared is " .. c*c)
c = c + 1
until c == 101
 
PREVIOUS NEXT
Tagged: #repeat #lua
ADD COMMENT
Topic
Name
8+1 =