Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Integer-sequence/Lua/integer-sequence.lua
Normal file
10
Task/Integer-sequence/Lua/integer-sequence.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
i = 1
|
||||
|
||||
-- in the event that the number inadvertently wraps around,
|
||||
-- stop looping - this is unlikely with Lua's default underlying
|
||||
-- number type (double), but on platform without double
|
||||
-- the C type used for numbers can be changed
|
||||
while i > 0 do
|
||||
print( i )
|
||||
i = i + 1
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue