Re: reading in a long line of data [message #60256 is a reply to message #60255] |
Fri, 09 May 2008 07:37   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Spon writes:
> Surely, this is equivalent to (1800720 * 4) bytes, or (1800720 * 4 *
> 8) bits, or (1800720 * 13) ASCII chars, and therefore massively bigger
> than the buffer. Yet IDL has no problem doing this. What am I missing?
> Does the buffer only come into play with ReadF?
Apparently so.
> How come?
You've got me. Maybe Karl or someone else from ITTVIS can
shed some light on this. To be fair, it is usually some kind
of programming error that causes this problem to surface. But
I would like to understand it, since it comes up from time to
time.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|