Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
14
Task/Loops-Nested/OoRexx/loops-nested.rexx
Normal file
14
Task/Loops-Nested/OoRexx/loops-nested.rexx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
numbers = .array~new()
|
||||
do i = 1 to 10
|
||||
do j = 1 to 10
|
||||
numbers[i,j] = random(1, 20)
|
||||
end
|
||||
end
|
||||
|
||||
do i = 1 to numbers~dimension(1)
|
||||
do j = 1 to numbers~dimension(2)
|
||||
say numbers[i,j]
|
||||
if numbers[i,j] = 20 then
|
||||
leave i
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue