Input Buffer Error Reading in Large ascii Files [message #26849] |
Fri, 28 September 2001 06:42 |
gefinn
Messages: 1 Registered: September 2001
|
Junior Member |
|
|
I am currently trying to read in a column seperated ascii file that
has 3 columns of data and approximately 1 million rows. using the
following small snippet of code in a larger program. the code uses a
program called transread written by Craig B. Markwardt.
------code used
if NOT Keyword_set(filnam) then begin
filnam=PICKFILE(/READ,PATH=path,FILTER=["*.txt"],TITLE='select ASCII
file',/MUST_EXIST)
if filnam EQ '' then Return, 0
endif
print, ''
print, filnam
OPENR, lun, filnam, /GET_LUN
A = 0L & B = 0L & C = 0L
TRANSREAD, lun, A, B, C, COUNT=COUNT, FORMAT='(I0,I0,I0)'
FREE_LUN, lun
----------------
unfortunately I get the following error.
% Compiled module: TRANSREAD.
% Input line is too long for input buffer of 32767 characters.
Can anyone make a suggestion on why I am getting this error and a
possible work around?
Thanks in advance,
Dave
|
|
|