Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Loops-Nested/Microsoft-Small-Basic/loops-nested.basic
Normal file
14
Task/Loops-Nested/Microsoft-Small-Basic/loops-nested.basic
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
For row = 0 To 10
|
||||
For col = 0 To 10
|
||||
array[row][col] = Math.GetRandomNumber(20)
|
||||
EndFor
|
||||
EndFor
|
||||
For row = 0 To 10
|
||||
For col = 0 To 10
|
||||
TextWindow.WriteLine("row "+row+" col "+col+" value "+array[row][col])
|
||||
If array[row][col] = 20 Then
|
||||
Goto exit_for_row
|
||||
EndIf
|
||||
EndFor
|
||||
EndFor
|
||||
exit_for_row:
|
||||
Loading…
Add table
Add a link
Reference in a new issue