Ahn210
Technical User
- Jun 18, 2013
- 11
Hello,
Can someone help me reading arrays with missing values?
Following is data that I got in text file:
I declared arrays a/b/c/d/e/f and and read those data through do loops.
When all columns are filled, read is successful (ie. 85337).
But for 85339 with missing data in column C, result of reading gets mixed up:
(column D data is read into column C // and Column F repeats column A's data // shifted to left)
How can I read the missing value into array?
thanks,
Can someone help me reading arrays with missing values?
Following is data that I got in text file:
Code:
A B C D E F
85337 20120531 23.2457 20.08000 148210.48 -0.017605
85337 20120629 23.2457 21.95000 162012.96 0.093128
85339 20101231 13.46000 414500.70 -0.061960
85339 20110131 13.05000 401874.76 -0.024522
I declared arrays a/b/c/d/e/f and and read those data through do loops.
When all columns are filled, read is successful (ie. 85337).
But for 85339 with missing data in column C, result of reading gets mixed up:
Code:
A B C D E F
85339 20110131 13.05000 401874.76 -0.024522 85339.0
How can I read the missing value into array?
thanks,