Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Nested-function/Ring/nested-function.ring
Normal file
13
Task/Nested-function/Ring/nested-function.ring
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Project : Nested function
|
||||
|
||||
makeList(". ")
|
||||
func makeitem(sep, counter, text)
|
||||
see "" + counter + sep + text + nl
|
||||
|
||||
func makelist(sep)
|
||||
a = ["first", "second", "third"]
|
||||
counter = 0
|
||||
while counter < 3
|
||||
counter = counter + 1
|
||||
makeitem(sep, counter, a[counter])
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue