Re: ASCII TEMPLATE (read the 31 column of ascii file only) [message #60854] |
Thu, 19 June 2008 04:07 |
lbnc
Messages: 15 Registered: January 2005
|
Junior Member |
|
|
On 18 Jun, 20:30, 3Rs <bernat.puigdomen...@gmail.com> wrote:
> It's a possibility...
>
> And using READ_ASCII and ASCII_TEMPLATE, any suggestions ?
With READ_ASCII and ASCII_TEMPLATE you can only read in the entire
file. Afterwards you can then select the 31st column. Unless you put a
special ASCII character before the 31st column and use that as your
delimiter in ASCII_TEMPLATE.
I suggest you read about READF and format codes.
So long
Lasse Clausen
|
|
|
Re: ASCII TEMPLATE (read the 31 column of ascii file only) [message #60857 is a reply to message #60854] |
Wed, 18 June 2008 12:33  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
3Rs writes:
> And using READ_ASCII and ASCII_TEMPLATE, any suggestions ?
Perfect solutions if your goal is to write the slowest
possible code. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
|