comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ASCII files with timestamps
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ASCII files with timestamps [message #42548] Thu, 10 February 2005 15:50
russell.grew is currently offline  russell.grew
Messages: 74
Registered: February 2005
Member
Hi.

Presently learning IDL and need to extract some data from a mostly 3
column ASCII file.

Im essentially using the example from David Fannings webpage:

WHILE (NOT EOF(lun)) DO BEGIN
READF, lun, p, t, h
pressure(count) = p
temperature(count) = t
humidity(count) = h
count = count + 1
ENDWHILE

...
BUT every 720 lines my code has a timestamp which screws up the reading
of the file. I get errors about running the skip_lun command in
windows, claiming it doesnt like the gui and I've tried using
conditional logic to skip the reading of the bad line, or even read it
into a seperate string, but the code keeps choking on the 4 column time
stamp.

Any ideas?

Thanks.
[Message index]
 
Read Message
Previous Topic: Re: Queries of .asp pages with IDL SOCKET command
Next Topic: Re: ASCII files with timestamps

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:55:30 PDT 2025

Total time taken to generate the page: 0.00401 seconds