[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: converting to array



davidf@dfanning.com (David Fanning) wrote:

>array = FltArr(5) ; Or, however many values you have.
>OPENR, lun, 'myfile.dat', /Get_LUN
>READF, lun, array
>FREE_LUN, lun

This is the shortest solution. However, I would read these
values into a string, count the words there and then use
ReadS to retrieve the data from the string.

Norbert