![Question :?:](./images/smilies/icon_question.gif)
Code: Select all
Loop % ( dr := 6 ) * 2
res .= Mod( A_Index-1, dr )+1 " <> " ( dd := A_Index-1 )-( dd/dr*dr )+1 "`n"
msgbox % res
1 <> 1
2 <> 2
3 <> 3
4 <> 4
5 <> 5
6 <> 6
1 <> 1
2 <> 2
3 <> 3
4 <> 4
5 <> 5
6 <> 6
![Eh :eh:](./images/smilies/icon_eh.gif)
Code: Select all
Loop % ( dr := 6 ) * 2
res .= Mod( A_Index-1, dr )+1 " <> " ( dd := A_Index-1 )-( dd/dr*dr )+1 "`n"
msgbox % res
Code: Select all
Loop % ( dr := 6 ) * 2
res .= Mod( A_Index-1, dr )+1 " <> " ( dd := A_Index-1 )-( dd//dr*dr )+1 "`n"
msgbox % res
Users browsing this forum: Bing [Bot], Google [Bot], mstrauss2021, peter_ahk, Spawnova, william_ahk, zephyrus2706 and 353 guests