Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
24
Task/Loops-Nested/AutoHotkey/loops-nested.ahk
Normal file
24
Task/Loops-Nested/AutoHotkey/loops-nested.ahk
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
Loop, 10
|
||||
{
|
||||
i := A_Index
|
||||
Loop, 10
|
||||
{
|
||||
j := A_Index
|
||||
Random, a%i%%j%, 1, 20
|
||||
}
|
||||
}
|
||||
|
||||
Loop, 10
|
||||
{
|
||||
i := A_Index
|
||||
Loop, 10
|
||||
{
|
||||
j := A_Index
|
||||
If (a%i%%j% == 20)
|
||||
Goto finish
|
||||
}
|
||||
}
|
||||
|
||||
finish:
|
||||
MsgBox % "a[" . i . "][" . j . "]" is 20
|
||||
Return
|
||||
Loading…
Add table
Add a link
Reference in a new issue