#include<array.au3>
Dim $array[55],$b[5][11]
For $i=0 to 54
$array[$i]=$i
Next
;----------------------------------------
For $i=0 to 4
For $j=0 to 10
$b[$i][$j]=$array[$j+$i*11]
Next
Next
_ArrayDisplay($b)
;-----------------------------------------
For $i=0 to 54 Step 11
for $j=0 to 10
$b[$i/11][$j]=$array[$i+$j]
Next
Next
_ArrayDisplay($b)
;-----------------------------------------
Dim $n=-1
For $i=0 to 54
$n+=1
$b[($i-$n)/11][$n]=$array[$i];$b[int($i/11)][$n]=$array[$i]也可以
If $n>=10 Then $n=-1
Next
_ArrayDisplay($b)
|