I have a series of input lines that all look like this:
CAR_MODEL 123 5.4 1968 9.4 55 99.0 3.3 44
The first field is ASCII, the rest are free-form integers or floating pt numbers.
All the numbers can be read is as REALs though.
I obviously can put quotes around the ASCII field, and read them all in via:
! But I chose to BLANK OUT the first field after reading it in:
LABEL=line(1:10) ! assuming the first number is after col. 10
I was wondering if there is a cleaner way to treat ALL the fields as free-form, where the first one is ASCII, the rest are REALs.
APPARENTLY THE FORTRAN I/O WONT ACCEPT BLANKS AS SEPARATORS WHEN A FIELD IS ASCII.
Or am I mistaken?