Saving an xls file in csv format "Looks" like it only writes a text file with comma delimited fields.
However, (at least using cvf 6.6) when this file is opened and read, as with:
character(80)::line
open(1,file='whatever.csv')
read(1,*)line
given that using a text editor that the line is somehting like
ABC,12345
on debug of the above, ONLY the first token is stored in the variable Line.
Arethere hidden characters in csv files which trick a simple read? or...?
Any hints will be appreciated.
Tim
链接已复制
2 回复数
Yes I just discoverd that.
I would swear that I've done this zillions of times and it was not a problem.
This is what heppens when scatterbrain people program in many different languages. Can't keep any of it straight!!
Thanks.
