Hi all. It's been almost 11 years since this post. Even so, I would like to give a workaround function. This function is UDF and is inspired in the seq() function in R language. As it returns an 1D array, it also can be indexed easily. I hope can be useful to you all.
Cheers!
#include-once
#include <Array.au3>
Func seq($from, $to, $by = 1)
Local $vector[0]
Local $strVector
for $e = $from to $to Step $by
$strVector = $strVector & $e & ' '
Next
$strVector = StringTrimRight($strVector, 1)
_ArrayAdd($vector, $strVector, 0, ' ')
;~ _ArrayDisplay($vector) <== [Debug]
ConsoleWrite('[1] ' & $strVector & @CRLF)
Return $vector
EndFunc
;Test
$test1 = seq(1, 10)
$test2 = seq(1, 10, 3)
$indexTest3 = seq(1, 10, 1)
ConsoleWrite('[1] ' & $indexTest3[0] & @CRLF)
ConsoleWrite('[1] ' & $indexTest3[1] & @CRLF)