Findgen()

FIndGen is a function that returns a single-precision, floating-point array with the specified dimensions.  Each element of the array is set to the value of its one-dimensional subscript.

F = FIndGen(6)
Will produce an array where:
F[0] = 0.0
F[1] = 1.0
F[2] = 2.0
F[3] = 3.0
F[4] = 4.0
F[5] = 5.0
See also BINDGEN, CINDGEN, DCINDGEN, DINGEN, INDGEN, LINDGEN, SINDGEN