sec : U Re: need a quicker way to read ascii file w/a structure [message #25352] |
Tue, 05 June 2001 18:20 |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
Mark Hadfield wrote:
>
> From: "Lucas Miller" <differentiable@hotmail.com>
>> OK. I've got an ascii file laid out in columns with a string in the
>> first column, like this
snip
>> I don't want to use an
>> explicit format statement because the format varies....
>
> That's a pity. If the widths of the fields were fixed then an explicit
> format would work.
>
> Have you considered going to the person who generated the text files and
> suggesting she produce them with fixed widths. While you're at it, ask her
> why she couldn't have done that in the first place.
>
snip
> ---
> Mark Hadfield
Hey Mark, you'd better duck for cover! I can't see anything in Lucas'
post
that suggests a female designed the format of the data file, and yet
you've
jumped in with both feet, using "she" and "her"... ;-)
Got a disguise in your top drawer? Groucho Marx glasses with moustache?
Andrew
------------------------------------------------------------ ---------
Andrew D. Cool .->-.
Electromagnetics & Propagation Group `-<-'
Surveillance Systems Division Transmitted on
Defence Science & Technology Organisation 100% recycled
PO Box 1500, Salisbury electrons
South Australia 5108
Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ ---------
|
|
|